[all-commits] [llvm/llvm-project] 8b8e62: [mlir][SCF] Add `loop.promote_if_one_iteration` tr...

Matthias Springer via All-commits all-commits at lists.llvm.org
Tue Jul 4 00:04:01 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8b8e62d3f6807e8dadd9aef93ea64663f7ec805c
      https://github.com/llvm/llvm-project/commit/8b8e62d3f6807e8dadd9aef93ea64663f7ec805c
  Author: Matthias Springer <me at m-sp.org>
  Date:   2023-07-04 (Tue, 04 Jul 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/SCF/TransformOps/SCFTransformOps.h
    M mlir/include/mlir/Dialect/SCF/TransformOps/SCFTransformOps.td
    M mlir/lib/Dialect/SCF/TransformOps/CMakeLists.txt
    M mlir/lib/Dialect/SCF/TransformOps/SCFTransformOps.cpp
    M mlir/test/Dialect/SCF/transform-ops.mlir
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  -----------
  [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




More information about the All-commits mailing list