[llvm] r287027 - GlobalISel: remove unused variable to silence warning.
Tim Northover via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 15 13:06:07 PST 2016
Author: tnorthover
Date: Tue Nov 15 15:06:07 2016
New Revision: 287027
URL: http://llvm.org/viewvc/llvm-project?rev=287027&view=rev
Log:
GlobalISel: remove unused variable to silence warning.
Modified:
llvm/trunk/lib/Target/ARM/ARMInstructionSelector.cpp
llvm/trunk/lib/Target/ARM/ARMInstructionSelector.h
Modified: llvm/trunk/lib/Target/ARM/ARMInstructionSelector.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMInstructionSelector.cpp?rev=287027&r1=287026&r2=287027&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMInstructionSelector.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMInstructionSelector.cpp Tue Nov 15 15:06:07 2016
@@ -28,7 +28,7 @@ using namespace llvm;
ARMInstructionSelector::ARMInstructionSelector(const ARMSubtarget &STI,
const ARMRegisterBankInfo &RBI)
: InstructionSelector(), TII(*STI.getInstrInfo()),
- TRI(*STI.getRegisterInfo()), RBI(RBI) {}
+ TRI(*STI.getRegisterInfo()) {}
bool ARMInstructionSelector::select(llvm::MachineInstr &I) const {
return !isPreISelGenericOpcode(I.getOpcode());
Modified: llvm/trunk/lib/Target/ARM/ARMInstructionSelector.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMInstructionSelector.h?rev=287027&r1=287026&r2=287027&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMInstructionSelector.h (original)
+++ llvm/trunk/lib/Target/ARM/ARMInstructionSelector.h Tue Nov 15 15:06:07 2016
@@ -32,7 +32,6 @@ public:
private:
const ARMBaseInstrInfo &TII;
const ARMBaseRegisterInfo &TRI;
- const ARMRegisterBankInfo &RBI;
};
} // End llvm namespace.
More information about the llvm-commits
mailing list