forked from OSchip/llvm-project
[X86] Simplify two hasFP(F). NFC
This commit is contained in:
parent
ac5a5af19d
commit
4f1e410a1b
|
@ -2140,7 +2140,7 @@ void X86FrameLowering::emitEpilogue(MachineFunction &MF,
|
|||
} else if (NumBytes) {
|
||||
// Adjust stack pointer back: ESP += numbytes.
|
||||
emitSPUpdate(MBB, MBBI, DL, NumBytes, /*InEpilogue=*/true);
|
||||
if (!hasFP(MF) && NeedsDwarfCFI) {
|
||||
if (!HasFP && NeedsDwarfCFI) {
|
||||
// Define the current CFA rule to use the provided offset.
|
||||
BuildCFI(MBB, MBBI, DL,
|
||||
MCCFIInstruction::cfiDefCfaOffset(
|
||||
|
@ -2158,7 +2158,7 @@ void X86FrameLowering::emitEpilogue(MachineFunction &MF,
|
|||
if (NeedsWin64CFI && MF.hasWinCFI())
|
||||
BuildMI(MBB, MBBI, DL, TII.get(X86::SEH_Epilogue));
|
||||
|
||||
if (!hasFP(MF) && NeedsDwarfCFI) {
|
||||
if (!HasFP && NeedsDwarfCFI) {
|
||||
MBBI = FirstCSPop;
|
||||
int64_t Offset = -CSSize - SlotSize;
|
||||
// Mark callee-saved pop instruction.
|
||||
|
|
Loading…
Reference in New Issue