This transform op promotes loops with one iteration. I.e., the loop op is replaced by just the loop body.
Depends On: D154343
Paths
| Differential D154361
[mlir][SCF] Add `loop.promote_if_one_iteration` transform op ClosedPublic Authored by springerm on Jul 3 2023, 8:50 AM.
Details Summary This transform op promotes loops with one iteration. I.e., the loop op is replaced by just the loop body. Depends On: D154343
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jul 3 2023, 8:52 AM This revision was landed with ongoing or failed builds.Jul 4 2023, 12:04 AM Closed by commit rG8b8e62d3f680: [mlir][SCF] Add `loop.promote_if_one_iteration` transform op (authored by springerm). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 536786 mlir/include/mlir/Dialect/SCF/TransformOps/SCFTransformOps.h
mlir/include/mlir/Dialect/SCF/TransformOps/SCFTransformOps.td
mlir/lib/Dialect/SCF/TransformOps/CMakeLists.txt
mlir/lib/Dialect/SCF/TransformOps/SCFTransformOps.cpp
mlir/test/Dialect/SCF/transform-ops.mlir
utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
|