projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ab3b79
)
Use the cached subtarget off of the machine function.
author
Eric Christopher
<echristo@gmail.com>
Fri, 13 Mar 2015 00:49:50 +0000
(
00:49
+0000)
committer
Eric Christopher
<echristo@gmail.com>
Fri, 13 Mar 2015 00:49:50 +0000
(
00:49
+0000)
llvm-svn: 232129
llvm/lib/CodeGen/StackMaps.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/CodeGen/StackMaps.cpp
b/llvm/lib/CodeGen/StackMaps.cpp
index
5d46419
..
6422f1f
100644
(file)
--- a/
llvm/lib/CodeGen/StackMaps.cpp
+++ b/
llvm/lib/CodeGen/StackMaps.cpp
@@
-123,7
+123,7
@@
StackMaps::parseOperand(MachineInstr::const_mop_iterator MOI,
assert(TargetRegisterInfo::isPhysicalRegister(MOI->getReg()) &&
"Virtreg operands should have been rewritten before now.");
const TargetRegisterClass *RC =
- AP.
TM.getSubtargetImpl()->
getRegisterInfo()->getMinimalPhysRegClass(
+ AP.
MF->getSubtarget().
getRegisterInfo()->getMinimalPhysRegClass(
MOI->getReg());
assert(!MOI->getSubReg() && "Physical subreg still around.");
Locs.push_back(