1
0
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:
Matthias Braun 2017-09-09 01:16:59 +00:00
parent 7bef89f06b
commit 348a4ac660

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