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:
c0663ba
)
Use the cached subtarget on the MachineFunction.
author
Eric Christopher
<echristo@gmail.com>
Mon, 2 Feb 2015 22:40:56 +0000
(22:40 +0000)
committer
Eric Christopher
<echristo@gmail.com>
Mon, 2 Feb 2015 22:40:56 +0000
(22:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227885
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/Hexagon/HexagonPeephole.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/Hexagon/HexagonPeephole.cpp
b/lib/Target/Hexagon/HexagonPeephole.cpp
index e9b2ef6b3911cc9a0596aef43a68100c0cedfa49..afd3a175440aa5d0962d881c4eca9f5f471f95d5 100644
(file)
--- a/
lib/Target/Hexagon/HexagonPeephole.cpp
+++ b/
lib/Target/Hexagon/HexagonPeephole.cpp
@@
-112,7
+112,7
@@
INITIALIZE_PASS(HexagonPeephole, "hexagon-peephole", "Hexagon Peephole",
bool HexagonPeephole::runOnMachineFunction(MachineFunction &MF) {
QII = static_cast<const HexagonInstrInfo *>(MF.getSubtarget().getInstrInfo());
- QRI = MF.get
Target().get
Subtarget<HexagonSubtarget>().getRegisterInfo();
+ QRI = MF.getSubtarget<HexagonSubtarget>().getRegisterInfo();
MRI = &MF.getRegInfo();
DenseMap<unsigned, unsigned> PeepholeMap;