[all-commits] [llvm/llvm-project] 1e70ab: [mlir][transform] Update transform.loop.peel (rela...

Andrzej WarzyƄski via All-commits all-commits at lists.llvm.org
Thu Sep 28 07:36:06 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e70ab5f0d54d49c2c14c0c80ec19c82e2701db4
      https://github.com/llvm/llvm-project/commit/1e70ab5f0d54d49c2c14c0c80ec19c82e2701db4
  Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
  Date:   2023-09-28 (Thu, 28 Sep 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/SCF/TransformOps/SCFTransformOps.td
    M mlir/lib/Dialect/SCF/TransformOps/SCFTransformOps.cpp
    M mlir/python/mlir/dialects/_loop_transform_ops_ext.py
    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
    M mlir/test/python/dialects/transform_loop_ext.py

  Log Message:
  -----------
  [mlir][transform] Update transform.loop.peel (reland #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.

Relands #67482 with an extra fix for transform_loop_ext.py




More information about the All-commits mailing list