[llvm] r244334 - [ARM] Remove an unused reference to MachineRegisterInfo. NFC.

Chad Rosier via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 7 10:02:29 PDT 2015


Author: mcrosier
Date: Fri Aug  7 12:02:29 2015
New Revision: 244334

URL: http://llvm.org/viewvc/llvm-project?rev=244334&view=rev
Log:
[ARM] Remove an unused reference to MachineRegisterInfo. NFC.

Modified:
    llvm/trunk/lib/Target/ARM/ARMLoadStoreOptimizer.cpp

Modified: llvm/trunk/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMLoadStoreOptimizer.cpp?rev=244334&r1=244333&r2=244334&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMLoadStoreOptimizer.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMLoadStoreOptimizer.cpp Fri Aug  7 12:02:29 2015
@@ -78,7 +78,6 @@ namespace {
     const MachineFunction *MF;
     const TargetInstrInfo *TII;
     const TargetRegisterInfo *TRI;
-    const MachineRegisterInfo *MRI;
     const ARMSubtarget *STI;
     const TargetLowering *TL;
     ARMFunctionInfo *AFI;
@@ -1825,7 +1824,7 @@ bool ARMLoadStoreOpt::runOnMachineFuncti
   AFI = Fn.getInfo<ARMFunctionInfo>();
   TII = STI->getInstrInfo();
   TRI = STI->getRegisterInfo();
-  MRI = &Fn.getRegInfo();
+
   RegClassInfoValid = false;
   isThumb2 = AFI->isThumb2Function();
   isThumb1 = AFI->isThumbFunction() && !isThumb2;




More information about the llvm-commits mailing list