[llvm] [IRBuilder] Add Align argument for CreateMaskedExpandLoad and CreateMaskedCompressStore (PR #122878)
Sergey Kachkov via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 14 05:07:26 PST 2025
================
@@ -3561,8 +3562,9 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
auto [ShadowPtr, OriginPtr] =
getShadowOriginPtr(Ptr, IRB, ElementShadowTy, {}, /*isStore*/ false);
- Value *Shadow = IRB.CreateMaskedExpandLoad(
- ShadowTy, ShadowPtr, Mask, getShadow(PassThru), "_msmaskedexpload");
+ Value *Shadow =
+ IRB.CreateMaskedExpandLoad(ShadowTy, ShadowPtr, Align, Mask,
----------------
skachkov-sc wrote:
Actually I've realized that alignment should be also specified in getShadowOriginPtr() method; fixed this
https://github.com/llvm/llvm-project/pull/122878
More information about the llvm-commits
mailing list