mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-01-07 06:22:32 +00:00
MachineRegisterInfo can access TII off of the MachineFunction's
subtarget and so doesn't need the TargetMachine or to access via getSubtargetImpl. Update all callers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227160 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -399,7 +399,7 @@ LiveRangeEdit::calculateRegClassAndHint(MachineFunction &MF,
|
||||
VirtRegAuxInfo VRAI(MF, LIS, Loops, MBFI);
|
||||
for (unsigned I = 0, Size = size(); I < Size; ++I) {
|
||||
LiveInterval &LI = LIS.getInterval(get(I));
|
||||
if (MRI.recomputeRegClass(LI.reg, MF.getTarget()))
|
||||
if (MRI.recomputeRegClass(LI.reg))
|
||||
DEBUG({
|
||||
const TargetRegisterInfo *TRI = MF.getSubtarget().getRegisterInfo();
|
||||
dbgs() << "Inflated " << PrintReg(LI.reg) << " to "
|
||||
|
||||
Reference in New Issue
Block a user