[llvm] r245022 - PowerPC: remove dead initialization (NFC)
Saleem Abdulrasool via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 13 20:48:36 PDT 2015
Author: compnerd
Date: Thu Aug 13 22:48:35 2015
New Revision: 245022
URL: http://llvm.org/viewvc/llvm-project?rev=245022&view=rev
Log:
PowerPC: remove dead initialization (NFC)
Identified by the clang static analyzer. No functional change intended.
Modified:
llvm/trunk/lib/Target/PowerPC/PPCFrameLowering.cpp
Modified: llvm/trunk/lib/Target/PowerPC/PPCFrameLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCFrameLowering.cpp?rev=245022&r1=245021&r2=245022&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCFrameLowering.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCFrameLowering.cpp Thu Aug 13 22:48:35 2015
@@ -1201,8 +1201,7 @@ void PPCFrameLowering::determineCalleeSa
// Reserve stack space for the PIC Base register (R30).
// Only used in SVR4 32-bit.
if (FI->usesPICBase()) {
- int PBPSI = FI->getPICBasePointerSaveIndex();
- PBPSI = MFI->CreateFixedObject(4, -8, true);
+ int PBPSI = MFI->CreateFixedObject(4, -8, true);
FI->setPICBasePointerSaveIndex(PBPSI);
}
More information about the llvm-commits
mailing list