From: Matthias Braun Date: Sat, 9 Sep 2017 01:16:59 +0000 (+0000) Subject: RegAllocFast: Fix warning; NFC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8f6af689a294065ea1dc03d99cf8d59a6749da96;p=llvm RegAllocFast: Fix warning; NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312852 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/RegAllocFast.cpp b/lib/CodeGen/RegAllocFast.cpp index 92f653945b5..fd6e602bbe4 100644 --- a/lib/CodeGen/RegAllocFast.cpp +++ b/lib/CodeGen/RegAllocFast.cpp @@ -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);