Files
clang-p2996/mlir/lib/Dialect/Math/Transforms/CMakeLists.txt
Benjamin Kramer c1ebefdf77 [mlir] Make polynomial approximation emit std instead of LLVM ops
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
2021-08-11 16:37:21 +02:00

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
)