mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
RegAllocFast: Fix warning; NFC
llvm-svn: 312852
This commit is contained in:
parent
7bef89f06b
commit
348a4ac660
@ -742,9 +742,8 @@ void RegAllocFast::handleThroughOperands(MachineInstr &MI,
|
||||
if (!TargetRegisterInfo::isVirtualRegister(Reg)) continue;
|
||||
if (MO.isUse()) {
|
||||
if (!MO.isTied()) continue;
|
||||
unsigned DefIdx = MI.findTiedOperandIdx(I);
|
||||
DEBUG(dbgs() << "Operand " << I << "("<< MO << ") is tied to operand "
|
||||
<< DefIdx << ".\n");
|
||||
<< MI.findTiedOperandIdx(I) << ".\n");
|
||||
LiveRegMap::iterator LRI = reloadVirtReg(MI, I, Reg, 0);
|
||||
MCPhysReg PhysReg = LRI->PhysReg;
|
||||
setPhysReg(MI, I, PhysReg);
|
||||
|
Loading…
x
Reference in New Issue
Block a user