[Mlir-commits] [mlir] [mlir] Don't hoist transfers from potentially zero trip loops (PR #112752)

Han-Chung Wang llvmlistbot at llvm.org
Thu Oct 17 14:53:55 PDT 2024


================
@@ -41,7 +44,8 @@ namespace linalg {
 ///
 /// WARNING: This hoisting does not model parallelism and is generally incorrect
 /// when used on distributed loops with memref semantics!
-void hoistRedundantVectorTransfers(Operation *root);
+void hoistRedundantVectorTransfers(Operation *root,
+                                   bool verifyNonZeroTrip = false);
----------------
hanhanW wrote:

Out of curiosity, are we able to remove the above warning if we turn on the verification? Or it is not enough?

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


More information about the Mlir-commits mailing list