mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 00:11:00 +00:00
Use the cached subtarget off of the machine function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232129 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
caedadfcaa
commit
a0485f5b9f
@ -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
Block a user