[all-commits] [llvm/llvm-project] 1d5ccc: [mlir][transform] Update transform.loop.peel (#67482)

Andrzej Warzyński via All-commits all-commits at lists.llvm.org
Wed Sep 27 12:58:53 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1d5ccce12167937c83de2b1b82b4adb6f89cc511
      https://github.com/llvm/llvm-project/commit/1d5ccce12167937c83de2b1b82b4adb6f89cc511
  Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
  Date:   2023-09-27 (Wed, 27 Sep 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/SCF/TransformOps/SCFTransformOps.td
    M mlir/lib/Dialect/SCF/TransformOps/SCFTransformOps.cpp
    M mlir/test/Dialect/Linalg/transform-op-fuse.mlir
    M mlir/test/Dialect/SCF/transform-ops-invalid.mlir
    M mlir/test/Dialect/SCF/transform-ops.mlir

  Log Message:
  -----------
  [mlir][transform] Update transform.loop.peel (#67482)

This patch updates `transform.loop.peel` so that this Op returns two
rather than one handle:
  * one for the peeled loop, and
  * one for the remainder loop.

Also, following this change this Op will fail if peeling fails. This is
consistent with other similar Ops that also fail if no transformation
takes place.




More information about the All-commits mailing list