Files
clang-p2996/mlir/lib/Dialect/Math/Transforms/CMakeLists.txt
Rob Suderman f3bdb56d61 [mlir][math] Add math.ctlz expansion to control flow + arith operations
Ctlz is an intrinsic in LLVM but does not have equivalent operations in SPIR-V.
Including a decomposition gives an alternative path for these platforms.

Reviewed By: NatashaKnk

Differential Revision: https://reviews.llvm.org/D126261
2022-06-01 11:45:04 -07:00

20 lines
364 B
CMake

add_mlir_dialect_library(MLIRMathTransforms
AlgebraicSimplification.cpp
ExpandPatterns.cpp
PolynomialApproximation.cpp
ADDITIONAL_HEADER_DIRS
${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/Math/Transforms
LINK_LIBS PUBLIC
MLIRArithmetic
MLIRDialectUtils
MLIRIR
MLIRMath
MLIRPass
MLIRTransforms
MLIRX86Vector
MLIRVector
MLIRVectorUtils
)