[Mlir-commits] [mlir] [mlir][linalg] set inbounds on `xfer_read/writes` for `assumeDynamicDimsMatchVecSizes ` (PR #160839)

Andrzej WarzyƄski llvmlistbot at llvm.org
Fri Sep 26 04:04:45 PDT 2025


================
@@ -524,6 +524,23 @@ VectorizationState::maskOperation(RewriterBase &rewriter, Operation *opToMask,
 
   if (!mask) {
     LDBG() << "No mask required";
+    if (assumeDynamicDimsMatchVecSizes) {
+      LDBG() << "Assuming dynamic dimensions match vector sizes!";
----------------
banach-space wrote:

I would move this inside the lambda. Otherwise it will be printed for every Op, which could be noise, no?
```suggestion
      LDBG() << "Assuming dynamic dimensions match vector sizes, set in_bounds to true!";
```

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


More information about the Mlir-commits mailing list