[Mlir-commits] [mlir] [MLIR][scp.parallel] Don't allow a tile size of 0 (PR #68762)

Matthias Springer llvmlistbot at llvm.org
Sat Oct 21 16:13:52 PDT 2023


================
@@ -195,6 +195,9 @@ struct ParallelLoopTiling
   }
 
   void runOnOperation() override {
+    for (auto tileSize : tileSizes)
+      if (tileSize == 0)
+        signalPassFailure();
----------------
matthias-springer wrote:

`UnknownLoc` sounds good here.


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


More information about the Mlir-commits mailing list