Matthias Springer 8b8e62d3f6 [mlir][SCF] Add loop.promote_if_one_iteration transform op
This transform op promotes loops with one iteration. I.e., the loop op is replaced by just the loop body.

Differential Revision: https://reviews.llvm.org/D154361
2023-07-04 08:58:49 +02:00

21 lines
377 B
CMake

add_mlir_dialect_library(MLIRSCFTransformOps
SCFTransformOps.cpp
ADDITIONAL_HEADER_DIRS
${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/SCF/TransformOps
DEPENDS
MLIRSCFTransformOpsIncGen
LINK_LIBS PUBLIC
MLIRAffineDialect
MLIRFuncDialect
MLIRIR
MLIRLoopLikeInterface
MLIRSCFDialect
MLIRSCFTransforms
MLIRSCFUtils
MLIRTransformDialect
MLIRVectorDialect
)