[Mlir-commits] [mlir] [mlir][vector] Add alignment attribute to `maskedload` and `maskedstore` (PR #151690)

Erick Ochoa Lopez llvmlistbot at llvm.org
Thu Aug 7 08:36:32 PDT 2025


================
@@ -1992,6 +2031,18 @@ def Vector_MaskedStoreOp :
   let hasCanonicalizer = 1;
   let hasFolder = 1;
   let hasVerifier = 1;
+
+  let builders = [
+    OpBuilder<(ins "Value":$base,
+                   "ValueRange":$indices,
+                   "Value":$mask,
+                   "Value":$valueToStore,
+                   CArg<"uint64_t", "0">:$alignment), [{
----------------
amd-eochoalo wrote:

Yes! Thanks for the review @kuhar https://github.com/llvm/llvm-project/pull/151690/commits/d5f19c3baceeb41804c2fe7b4206737d81ab271d

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


More information about the Mlir-commits mailing list