[all-commits] [llvm/llvm-project] c0d2ea: [mlir][scf] Improve `scf.parallel` fusion pass (#7...

Ivan Butygin via All-commits all-commits at lists.llvm.org
Tue Dec 19 07:08:00 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c0d2ea9d4202c7cce4214b3057a709ff2f1128ae
      https://github.com/llvm/llvm-project/commit/c0d2ea9d4202c7cce4214b3057a709ff2f1128ae
  Author: Ivan Butygin <ivan.butygin at gmail.com>
  Date:   2023-12-19 (Tue, 19 Dec 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/SCF/Transforms/Transforms.h
    M mlir/lib/Dialect/SCF/Transforms/ParallelLoopFusion.cpp
    M mlir/test/Dialect/SCF/parallel-loop-fusion.mlir

  Log Message:
  -----------
  [mlir][scf] Improve `scf.parallel` fusion pass (#75852)

Abort fusion if memref load may alias write, but not the exact alias. 
Add alias check hook to `naivelyFuseParallelOps`, so user can customize
alias checking.
Use builtin alias analysis in `ParallelLoopFusion` pass.




More information about the All-commits mailing list