RegAllocFast: Fix warning; NFC

llvm-svn: 312852
This commit is contained in:
Matthias Braun 2017-09-09 01:16:59 +00:00
parent 6d9bc278ef
commit 6b2b88b071
1 changed files with 1 additions and 2 deletions

View File

@ -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);