[Mlir-commits] [mlir] [MLIR][Affine]Fixed crash with invalid cachesize (Issue #64979) (PR #114722)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Nov 4 05:57:02 PST 2024


================
@@ -173,6 +173,12 @@ void LoopTiling::getTileSizes(ArrayRef<AffineForOp> band,
 }
 
 void LoopTiling::runOnOperation() {
+  if (cacheSizeInKiB <= 0) {
+    getOperation().emitError(
----------------
SwapnilGhanshyala wrote:

Thank you for the pointers! Changes made to in the new commit.

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


More information about the Mlir-commits mailing list