summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/lib/Target/ARM/ARMInstructionSelector.cpp2
-rw-r--r--llvm/lib/Target/ARM/ARMInstructionSelector.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstructionSelector.cpp b/llvm/lib/Target/ARM/ARMInstructionSelector.cpp
index 69b94b6b1f4..892b770a28c 100644
--- a/llvm/lib/Target/ARM/ARMInstructionSelector.cpp
+++ b/llvm/lib/Target/ARM/ARMInstructionSelector.cpp
@@ -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());
diff --git a/llvm/lib/Target/ARM/ARMInstructionSelector.h b/llvm/lib/Target/ARM/ARMInstructionSelector.h
index 5072cdd60ce..d29fb2e8eaa 100644
--- a/llvm/lib/Target/ARM/ARMInstructionSelector.h
+++ b/llvm/lib/Target/ARM/ARMInstructionSelector.h
@@ -32,7 +32,6 @@ public:
private:
const ARMBaseInstrInfo &TII;
const ARMBaseRegisterInfo &TRI;
- const ARMRegisterBankInfo &RBI;
};
} // End llvm namespace.
OpenPOWER on IntegriCloud