forked from OSchip/llvm-project
20 lines
458 B
CMake
20 lines
458 B
CMake
set(LLVM_TARGET_DEFINITIONS ArithmeticCanonicalization.td)
|
|
mlir_tablegen(ArithmeticCanonicalization.inc -gen-rewriters)
|
|
add_public_tablegen_target(MLIRArithmeticCanonicalizationIncGen)
|
|
|
|
add_mlir_dialect_library(MLIRArithmetic
|
|
ArithmeticOps.cpp
|
|
ArithmeticDialect.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/Arithmetic
|
|
|
|
DEPENDS
|
|
MLIRArithmeticOpsIncGen
|
|
|
|
LINK_LIBS PUBLIC
|
|
MLIRDialect
|
|
MLIRInferTypeOpInterface
|
|
MLIRIR
|
|
)
|