Files
clang-p2996/mlir/lib/Dialect/Bufferization/TransformOps/CMakeLists.txt
Jacques Pienaar 6ae7f66ff5 [mlir] Add config for PDL (#69927)
Make it so that PDL in pattern rewrites can be optionally disabled.

PDL is still enabled by default and not optional bazel. So this should
be a NOP for most folks, while enabling other to disable.

This only works with tests disabled. With tests enabled this still
compiles but tests fail as there is no lit config to disable tests that
depend on PDL rewrites yet.
2024-01-03 20:37:20 -08:00

20 lines
427 B
CMake

add_mlir_dialect_library(MLIRBufferizationTransformOps
BufferizationTransformOps.cpp
ADDITIONAL_HEADER_DIRS
${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/Bufferization/TransformOps
DEPENDS
MLIRBufferizationTransformOpsIncGen
LINK_LIBS PUBLIC
MLIRIR
MLIRBufferizationDialect
MLIRBufferizationTransforms
MLIRFunctionInterfaces
MLIRLinalgDialect
MLIRParser
MLIRSideEffectInterfaces
MLIRTransformDialect
)