forked from OSchip/llvm-project
Use the cached subtarget off of the machine function.
llvm-svn: 232129
This commit is contained in:
parent
5ab3b79ba8
commit
ef9e01eada
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue