Files
clang-p2996/mlir/lib/Dialect/Math/Transforms/CMakeLists.txt
Daniel Hernandez-Juarez 1fd1f65569 [mlir] Refactor LegalizeToF32 to specify extra supported float types and target type as arguments (#108815)
Instead of hardcoding all fp smaller than 32 bits are unsupported we
provide a way to pass supported floating point types as well as the
target type. fp64 and fp32 are implicitly supported.

CC: @krzysz00 @manupak
2024-09-27 10:02:16 -05:00

25 lines
469 B
CMake

add_mlir_dialect_library(MLIRMathTransforms
AlgebraicSimplification.cpp
ExpandPatterns.cpp
ExtendToSupportedTypes.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
)