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
25 lines
469 B
CMake
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
|
|
)
|