From 6b2b88b071b5f7f9b91ef567cd956ee5dcda0e8a Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Sat, 9 Sep 2017 01:16:59 +0000 Subject: RegAllocFast: Fix warning; NFC llvm-svn: 312852 --- llvm/lib/CodeGen/RegAllocFast.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'llvm/lib/CodeGen/RegAllocFast.cpp') diff --git a/llvm/lib/CodeGen/RegAllocFast.cpp b/llvm/lib/CodeGen/RegAllocFast.cpp index 92f653945b5..fd6e602bbe4 100644 --- a/llvm/lib/CodeGen/RegAllocFast.cpp +++ b/llvm/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); -- cgit v1.2.3