Files
clang-p2996/mlir/lib/Dialect/Math/Transforms/CMakeLists.txt
Ivan Butygin ee8b8d6b58 [mlir][math] Uplift from arith to math.fma
Add pass to uplift from arith mulf + addf ops to math.fma if fastmath flags allow it.

Differential Revision: https://reviews.llvm.org/D152633
2023-06-18 17:11:21 +02:00

24 lines
440 B
CMake

add_mlir_dialect_library(MLIRMathTransforms
AlgebraicSimplification.cpp
ExpandPatterns.cpp
PolynomialApproximation.cpp
UpliftToFMA.cpp
ADDITIONAL_HEADER_DIRS
${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/Math/Transforms
DEPENDS
MLIRMathTransformsIncGen
LINK_LIBS PUBLIC
MLIRArithDialect
MLIRDialectUtils
MLIRIR
MLIRMathDialect
MLIRSCFDialect
MLIRPass
MLIRTransforms
MLIRX86VectorDialect
MLIRVectorDialect
)