Precursor: https://reviews.llvm.org/D110200 Removed redundant ops from the standard dialect that were moved to the `arith` or `math` dialects. Renamed all instances of operations in the codebase and in tests. Reviewed By: rriddle, jpienaar Differential Revision: https://reviews.llvm.org/D110797
28 lines
539 B
CMake
28 lines
539 B
CMake
set(LLVM_TARGET_DEFINITIONS ShapeToStandard.td)
|
|
mlir_tablegen(ShapeToStandard.cpp.inc -gen-rewriters)
|
|
add_public_tablegen_target(ShapeToStandardIncGen)
|
|
|
|
add_mlir_conversion_library(MLIRShapeToStandard
|
|
ConvertShapeConstraints.cpp
|
|
ShapeToStandard.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/Conversion/ShapeToStandard
|
|
|
|
DEPENDS
|
|
MLIRConversionPassIncGen
|
|
ShapeToStandardIncGen
|
|
|
|
LINK_COMPONENTS
|
|
Core
|
|
|
|
LINK_LIBS PUBLIC
|
|
MLIRArithmetic
|
|
MLIRIR
|
|
MLIRShape
|
|
MLIRTensor
|
|
MLIRPass
|
|
MLIRSCF
|
|
MLIRTransforms
|
|
)
|