GlobalISel: remove unused variable to silence warning.

llvm-svn: 287027
This commit is contained in:
Tim Northover 2016-11-15 21:06:07 +00:00
parent 5b2e4e3c66
commit ed55a05b01
2 changed files with 1 additions and 2 deletions

View File

@ -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());

View File

@ -32,7 +32,6 @@ public:
private:
const ARMBaseInstrInfo &TII;
const ARMBaseRegisterInfo &TRI;
const ARMRegisterBankInfo &RBI;
};
} // End llvm namespace.