[all-commits] [llvm/llvm-project] 192cd6: Add checks before hoisting out in loop pipelining ...

Fotis Kounelis via All-commits all-commits at lists.llvm.org
Fri Jun 7 02:46:23 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 192cd685129d6f42e8b191e12bddf74ade48c270
      https://github.com/llvm/llvm-project/commit/192cd685129d6f42e8b191e12bddf74ade48c270
  Author: Fotis Kounelis <fotisss17 at gmail.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M mlir/lib/Dialect/SCF/TransformOps/SCFTransformOps.cpp
    M mlir/test/Dialect/SCF/transform-ops.mlir

  Log Message:
  -----------
  Add checks before hoisting out in loop pipelining  (#90872)

Currently, during a loop pipelining transformation, operations may be
hoisted out without any checks on the loop bounds, which leads to
incorrect transformations and unexpected behaviour. The following [issue
](https://github.com/llvm/llvm-project/issues/90870) describes the
problem more extensively, including an example.
The proposed fix adds some check in the loop bounds before and applies
the maximum hoisting.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list