[llvm] r325917 - [mips] finish removal of unused fields in MipsInstructionSelector

Petar Jovanovic via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 23 07:47:05 PST 2018


Author: petarj
Date: Fri Feb 23 07:47:05 2018
New Revision: 325917

URL: http://llvm.org/viewvc/llvm-project?rev=325917&view=rev
Log:
[mips] finish removal of unused fields in MipsInstructionSelector

r325916 missed to remove calls in constructor.

Modified:
    llvm/trunk/lib/Target/Mips/MipsInstructionSelector.cpp

Modified: llvm/trunk/lib/Target/Mips/MipsInstructionSelector.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsInstructionSelector.cpp?rev=325917&r1=325916&r2=325917&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsInstructionSelector.cpp (original)
+++ llvm/trunk/lib/Target/Mips/MipsInstructionSelector.cpp Fri Feb 23 07:47:05 2018
@@ -38,8 +38,8 @@ private:
 MipsInstructionSelector::MipsInstructionSelector(
     const MipsTargetMachine &TM, const MipsSubtarget &STI,
     const MipsRegisterBankInfo &RBI)
-    : InstructionSelector(), TM(TM), STI(STI), TII(*STI.getInstrInfo()),
-      TRI(*STI.getRegisterInfo()), RBI(RBI) {}
+    : InstructionSelector(), TII(*STI.getInstrInfo()),
+      TRI(*STI.getRegisterInfo()) {}
 
 bool MipsInstructionSelector::select(MachineInstr &I,
                                      CodeGenCoverage &CoverageInfo) const {




More information about the llvm-commits mailing list