[Mlir-commits] [mlir] [mlir][vector] Propagate alignment when emulating masked{load, stores}. (PR #155648)

Andrzej WarzyƄski llvmlistbot at llvm.org
Fri Sep 5 01:53:17 PDT 2025


================
@@ -74,7 +76,8 @@ struct VectorMaskedLoadOpConverter final
           rewriter, loc, maskBit,
           [&](OpBuilder &builder, Location loc) {
             auto loadedValue =
-                memref::LoadOp::create(builder, loc, base, indices);
+                memref::LoadOp::create(builder, loc, base, indices, nontemporal,
----------------
banach-space wrote:

I wouldn't introduce a new variable for `nontemporal` if it's never modified.
```suggestion
                memref::LoadOp::create(builder, loc, base, indices, /*nontemporal=*/false,
```

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


More information about the Mlir-commits mailing list