[clang] [PowerPC] Fix incorrect store alignment for __builtin_vsx_build_pair() (PR #108606)
Lei Huang via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 17 13:53:17 PDT 2024
================
@@ -18197,7 +18197,7 @@ Value *CodeGenFunction::EmitPPCBuiltinExpr(unsigned BuiltinID,
CallOps.push_back(Ops[i]);
llvm::Function *F = CGM.getIntrinsic(ID);
Value *Call = Builder.CreateCall(F, CallOps);
- return Builder.CreateAlignedStore(Call, Ops[0], MaybeAlign(64));
+ return Builder.CreateAlignedStore(Call, Ops[0], MaybeAlign());
----------------
lei137 wrote:
@nikic Using `CreateStore(Value, Address)` will require extra code to convert`Ops[0[` to type `Address`.
https://github.com/llvm/llvm-project/pull/108606
More information about the cfe-commits
mailing list