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

Jakub Kuderski llvmlistbot at llvm.org
Tue Aug 5 09:17:10 PDT 2025


================
@@ -77,6 +77,14 @@ struct VectorDim {
   int64_t dim;
   bool isScalable;
 };
+
+struct AlignmentBytes {
+  uint64_t alignment = 0;
+  AlignmentBytes() = default;
+  explicit AlignmentBytes(uint64_t alignment_) : alignment(alignment_){};
----------------
kuhar wrote:

llvm/mlir doesn't use trailing underscores in variable names
```suggestion
  explicit AlignmentBytes(uint64_t alignment) : alignment(alignment){};
```

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


More information about the Mlir-commits mailing list