[all-commits] [llvm/llvm-project] 7ea1c3: [mlir][Transforms] LISH: Improve bypass analysis f...

Matthias Springer via All-commits all-commits at lists.llvm.org
Tue Oct 31 19:14:24 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ea1c395ccb6c79d5d3b124b734fa5637dcd48a4
      https://github.com/llvm/llvm-project/commit/7ea1c395ccb6c79d5d3b124b734fa5637dcd48a4
  Author: Matthias Springer <me at m-sp.org>
  Date:   2023-11-01 (Wed, 01 Nov 2023)

  Changed paths:
    M mlir/lib/Transforms/Utils/LoopInvariantCodeMotionUtils.cpp
    M mlir/test/Transforms/loop-invariant-subset-hoisting.mlir

  Log Message:
  -----------
  [mlir][Transforms] LISH: Improve bypass analysis for loop-like ops (#70623)

Improve the bypass analysis for loop-like ops. Until now, loop-like ops
were treated like any other non-subset ops: they prevent hoisting of any
sort because the analysis does not know which parts of a tensor init
operand are accessed by the loop-like op. With this change, the analysis
can look into loop-like ops and analyze which subset they are operating
on.




More information about the All-commits mailing list