llvm.org GIT mirror llvm / 08b3db3
Merge 80960 from mainline. If we've pushed registers onto the stack, but aren't adjusting the stack pointer (i.e., there are no local variables and stuff), we still need to output FDE information for the pushed registers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@81973 91177308-0d34-0410-b5e6-96231b3b80d8 Tanya Lattner 10 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
10851085 emitSPUpdate(MBB, MBBI, StackPtr, -(int64_t)NumBytes, Is64Bit, TII);
10861086 }
10871087
1088 if (NumBytes && needsFrameMoves) {
1088 if ((NumBytes || PushedRegs) && needsFrameMoves) {
10891089 // Mark end of stack pointer adjustment.
10901090 unsigned LabelId = MMI->NextLabelID();
10911091 BuildMI(MBB, MBBI, DL, TII.get(X86::DBG_LABEL)).addImm(LabelId);
10921092
1093 if (!HasFP) {
1093 if (!HasFP && NumBytes) {
10941094 // Define the current CFA rule to use the provided offset.
10951095 if (StackSize) {
10961096 MachineLocation SPDst(MachineLocation::VirtualFP);