[llvm] [IRBuilder] Add Align argument for CreateMaskedExpandLoad and CreateMaskedCompressStore (PR #122878)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 14 02:53:19 PST 2025
================
@@ -644,38 +644,48 @@ CallInst *IRBuilderBase::CreateMaskedScatter(Value *Data, Value *Ptrs,
/// Create a call to Masked Expand Load intrinsic
/// \p Ty - vector type to load
/// \p Ptr - base pointer for the load
+/// \p Align - alignment for one element
----------------
nikic wrote:
```suggestion
/// \p Align - alignment of \p Ptr
```
I think? I don't think this alignment has to hold for all elements, just the base pointer.
https://github.com/llvm/llvm-project/pull/122878
More information about the llvm-commits
mailing list