diff --git a/llvm/lib/Target/PowerPC/PowerPCRegisterInfo.cpp b/llvm/lib/Target/PowerPC/PowerPCRegisterInfo.cpp index 9b6d95c859b876bae4037405f5f057b93a0f4a7a..ee892c2dffdbf8134499072bb9207deabec3f7a5 100644 --- a/llvm/lib/Target/PowerPC/PowerPCRegisterInfo.cpp +++ b/llvm/lib/Target/PowerPC/PowerPCRegisterInfo.cpp @@ -101,7 +101,7 @@ int PowerPCRegisterInfo::copyRegToReg(MachineBasicBlock &MBB, // if frame pointer elimination is disabled. // static bool hasFP(MachineFunction &MF) { - return NoFPElim || MF.getFrameInfo()->hasVarSizedObjects(); + return NoFramePointerElim || MF.getFrameInfo()->hasVarSizedObjects(); } void PowerPCRegisterInfo::