This is a bit cleaner and removes issues with 2d vectors. It also has a big impact on constant folding, hence the test changes. Differential Revision: https://reviews.llvm.org/D107896
16 lines
290 B
CMake
16 lines
290 B
CMake
add_mlir_dialect_library(MLIRMathTransforms
|
|
AlgebraicSimplification.cpp
|
|
ExpandTanh.cpp
|
|
PolynomialApproximation.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/Math/Transforms
|
|
|
|
LINK_LIBS PUBLIC
|
|
MLIRIR
|
|
MLIRMath
|
|
MLIRPass
|
|
MLIRStandard
|
|
MLIRTransforms
|
|
)
|