[llvm] [AArch64][GlobalISel] Implement selectVaStartAAPCS (PR #106979)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 6 05:10:54 PDT 2024
================
@@ -2045,7 +2045,8 @@ bool AArch64InstructionSelector::selectVaStartAAPCS(
(*I.memoperands_begin())
->getPointerInfo()
.getWithOffset(OffsetBytes),
- MachineMemOperand::MOStore, PtrSize, Align(PtrSize)));
+ MachineMemOperand::MOStore, PtrSize,
+ commonAlignment(Align(PtrSize), OffsetBytes)));
----------------
arsenm wrote:
Actually I was wrong, the MMO alignment is a function of commonAlignment(BaseAlign, Offset), so this should be passing through the same base alignment from MMO->getBaseAlign()
https://github.com/llvm/llvm-project/pull/106979
More information about the llvm-commits
mailing list