[Mlir-commits] [mlir] [mlir][scf] Improve `scf.parallel` fusion pass (PR #75852)

Maksim Levental llvmlistbot at llvm.org
Mon Dec 18 13:01:42 PST 2023


================
@@ -34,7 +34,10 @@ class ParallelOp;
 /// Fuses all adjacent scf.parallel operations with identical bounds and step
 /// into one scf.parallel operations. Uses a naive aliasing and dependency
 /// analysis.
-void naivelyFuseParallelOps(Region &region);
+/// User can additioanlly customize alias checking with `mayAlias` hook.
+/// `mayAlias` must return false if 2 values are guaranteed to no alias.
----------------
makslevental wrote:

Nit: "not" alias.

https://github.com/llvm/llvm-project/pull/75852


More information about the Mlir-commits mailing list