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
20 lines
364 B
CMake
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
|
|
)
|