blob: 8365d4808e2f0d9e4f340b9273eb4a32210e5f97 [file] [log] [blame]
set(LLVM_TARGET_DEFINITIONS ShapeCanonicalization.td)
mlir_tablegen(ShapeCanonicalization.inc -gen-rewriters)
add_public_tablegen_target(MLIRShapeCanonicalizationIncGen)
add_mlir_dialect_library(MLIRShape
Shape.cpp
ADDITIONAL_HEADER_DIRS
${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/Shape
DEPENDS
MLIRShapeOpsIncGen
LINK_LIBS PUBLIC
MLIRArithmetic
MLIRCastInterfaces
MLIRControlFlowInterfaces
MLIRDialect
MLIRInferTypeOpInterface
MLIRIR
MLIRSideEffectInterfaces
MLIRStandard
MLIRTensor
)