These passes have been depreciated for a long time and replaced by one-shot bufferization. These passes are also unsafe because they do not check for read-after-write conflicts. Relands https://github.com/llvm/llvm-project/pull/93488 which failed on buildbot. Fixes the failure by updating integration tests to use one-shot-bufferize instead.
26 lines
522 B
CMake
26 lines
522 B
CMake
add_mlir_dialect_library(MLIRShapeOpsTransforms
|
|
BufferizableOpInterfaceImpl.cpp
|
|
OutlineShapeComputation.cpp
|
|
RemoveShapeConstraints.cpp
|
|
ShapeToShapeLowering.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/ShapeOps/Transforms
|
|
|
|
DEPENDS
|
|
MLIRShapeTransformsIncGen
|
|
)
|
|
|
|
target_link_libraries(MLIRShapeOpsTransforms
|
|
PUBLIC
|
|
MLIRArithDialect
|
|
MLIRBufferizationDialect
|
|
MLIRBufferizationTransforms
|
|
MLIRIR
|
|
MLIRMemRefDialect
|
|
MLIRPass
|
|
MLIRShapeDialect
|
|
MLIRSupport
|
|
MLIRTransforms
|
|
)
|