[llvm] r237980 - [X86] Fix a variable name for r237977 so that it works with every compilers.
Quentin Colombet
qcolombet at apple.com
Thu May 21 17:41:03 PDT 2015
Author: qcolombet
Date: Thu May 21 19:41:03 2015
New Revision: 237980
URL: http://llvm.org/viewvc/llvm-project?rev=237980&view=rev
Log:
[X86] Fix a variable name for r237977 so that it works with every compilers.
Modified:
llvm/trunk/lib/Target/X86/X86ExpandPseudo.cpp
Modified: llvm/trunk/lib/Target/X86/X86ExpandPseudo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ExpandPseudo.cpp?rev=237980&r1=237979&r2=237980&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ExpandPseudo.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ExpandPseudo.cpp Thu May 21 19:41:03 2015
@@ -43,7 +43,7 @@ public:
const X86Subtarget *STI;
const X86InstrInfo *TII;
const X86RegisterInfo *TRI;
- const X86FrameLowering *X86FrameLowering;
+ const X86FrameLowering *X86FL;
bool runOnMachineFunction(MachineFunction &Fn) override;
@@ -89,7 +89,7 @@ bool X86ExpandPseudo::ExpandMI(MachineBa
const bool Uses64BitFramePtr =
STI->isTarget64BitLP64() || STI->isTargetNaCl64();
bool UseLEAForSP =
- X86FrameLowering->useLEAForSPInProlog(*MBB.getParent());
+ X86FL->useLEAForSPInProlog(*MBB.getParent());
unsigned StackPtr = TRI->getStackRegister();
// Check for possible merge with preceding ADD instruction.
StackAdj += X86FrameLowering::mergeSPUpdates(MBB, MBBI, StackPtr, true);
@@ -174,7 +174,7 @@ bool X86ExpandPseudo::runOnMachineFuncti
STI = &static_cast<const X86Subtarget &>(MF.getSubtarget());
TII = STI->getInstrInfo();
TRI = STI->getRegisterInfo();
- X86FrameLowering = STI->getFrameLowering();
+ X86FL = STI->getFrameLowering();
bool Modified = false;
for (MachineBasicBlock &MBB : MF)
More information about the llvm-commits
mailing list