[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_){};
+ operator bool() const { return 0 != alignment; }
----------------
kuhar wrote:
Should we make this explicit?
https://github.com/llvm/llvm-project/pull/151690
More information about the Mlir-commits
mailing list