projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09ad805
)
[ARM] Remove an unused reference to MachineRegisterInfo. NFC.
author
Chad Rosier
<mcrosier@codeaurora.org>
Fri, 7 Aug 2015 17:02:29 +0000
(17:02 +0000)
committer
Chad Rosier
<mcrosier@codeaurora.org>
Fri, 7 Aug 2015 17:02:29 +0000
(17:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244334
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMLoadStoreOptimizer.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
b/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
index 7b73c32c21e042c72b40c5df34b9708869efc51b..81cb3326ed4ad613f0f41bdbaff33bc1960d0e12 100644
(file)
--- a/
lib/Target/ARM/ARMLoadStoreOptimizer.cpp
+++ b/
lib/Target/ARM/ARMLoadStoreOptimizer.cpp
@@
-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::runOnMachineFunction(MachineFunction &Fn) {
AFI = Fn.getInfo<ARMFunctionInfo>();
TII = STI->getInstrInfo();
TRI = STI->getRegisterInfo();
- MRI = &Fn.getRegInfo();
+
RegClassInfoValid = false;
isThumb2 = AFI->isThumb2Function();
isThumb1 = AFI->isThumbFunction() && !isThumb2;