Files
clang-p2996/mlir/lib/Dialect/Shape/Transforms/CMakeLists.txt
Tres Popp 3324598844 [mlir] Add a pass to remove all shape.cstr_ and assuming_ ops.
Summary:
This is to provide a utility to remove unsupported constraints or for
pipelines that happen to receive these but cannot lower them due to not
supporting assertions.

Differential Revision: https://reviews.llvm.org/D81560
2020-06-18 13:31:30 +02:00

20 lines
355 B
CMake

add_mlir_dialect_library(MLIRShapeOpsTransforms
RemoveShapeConstraints.cpp
ShapeToShapeLowering.cpp
ADDITIONAL_HEADER_DIRS
${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/ShapeOps/Transforms
DEPENDS
MLIRShapeTransformsIncGen
)
target_link_libraries(MLIRShapeOpsTransforms
PUBLIC
MLIRIR
MLIRPass
MLIRShape
MLIRSupport
MLIRTransforms
)