From: Duncan Sands Date: Thu, 21 Oct 2010 16:04:43 +0000 (+0000) Subject: The variable liTRC is not used for anything useful, zap it X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9bc20ca72839299029eb0d0f34ecdea7c376299e;p=oota-llvm.git The variable liTRC is not used for anything useful, zap it (gcc-4.6 warning). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117022 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/RenderMachineFunction.cpp b/lib/CodeGen/RenderMachineFunction.cpp index 31a0982fc40..cbfd5a23d63 100644 --- a/lib/CodeGen/RenderMachineFunction.cpp +++ b/lib/CodeGen/RenderMachineFunction.cpp @@ -463,14 +463,9 @@ namespace llvm { liItr != liEnd; ++liItr) { LiveInterval *li = liItr->second; - const TargetRegisterClass *liTRC; - if (TargetRegisterInfo::isPhysicalRegister(li->reg)) continue; - liTRC = mri->getRegClass(li->reg); - - // For all ranges in the current interal. for (LiveInterval::iterator lrItr = li->begin(), lrEnd = li->end();