[llvm] [X86] Fix invalid instructions with large stack frames (PR #124041)
Phoebe Wang via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 22 18:58:35 PST 2025
================
@@ -234,6 +234,14 @@ void X86FrameLowering::emitSPUpdate(MachineBasicBlock &MBB,
MachineInstr::MIFlag Flag =
isSub ? MachineInstr::FrameSetup : MachineInstr::FrameDestroy;
+ if (!Uses64BitFramePtr && !isUInt<32>(Offset)) {
----------------
phoebewang wrote:
Ok, can we split this change into another patch. We should use this to fix the failure of https://github.com/llvm/llvm-project/pull/113219 only.
https://github.com/llvm/llvm-project/pull/124041
More information about the llvm-commits
mailing list