Enable constant folding of ops within the math dialect, and introduce constant folders for ceil and log2 Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D117085
16 lines
232 B
CMake
16 lines
232 B
CMake
add_mlir_dialect_library(MLIRMath
|
|
MathOps.cpp
|
|
MathDialect.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/Math
|
|
|
|
DEPENDS
|
|
MLIRMathOpsIncGen
|
|
|
|
LINK_LIBS PUBLIC
|
|
MLIRArithmetic
|
|
MLIRDialect
|
|
MLIRIR
|
|
)
|