This generates a Passes.td for all of the dialects that have transformation passes. This removes the need for global registration for all of the dialect passes. Differential Revision: https://reviews.llvm.org/D76657
22 lines
390 B
CMake
22 lines
390 B
CMake
add_mlir_dialect_library(MLIRLoopOpsTransforms
|
|
ParallelLoopFusion.cpp
|
|
ParallelLoopSpecialization.cpp
|
|
ParallelLoopTiling.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/LoopOps
|
|
|
|
DEPENDS
|
|
MLIRLoopPassIncGen
|
|
)
|
|
target_link_libraries(MLIRLoopOpsTransforms
|
|
PUBLIC
|
|
MLIRAffine
|
|
MLIRIR
|
|
MLIRPass
|
|
MLIRLoopOps
|
|
MLIRStandardOps
|
|
MLIRSupport
|
|
LLVMSupport
|
|
)
|