The variable liTRC is not used for anything useful, zap it
authorDuncan Sands <baldrick@free.fr>
Thu, 21 Oct 2010 16:04:43 +0000 (16:04 +0000)
committerDuncan Sands <baldrick@free.fr>
Thu, 21 Oct 2010 16:04:43 +0000 (16:04 +0000)
(gcc-4.6 warning).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117022 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/RenderMachineFunction.cpp

index 31a0982fc40a3f114d0af79cd338f462dc1d8d41..cbfd5a23d63d6635c81151417193d87cdadbd07d 100644 (file)
@@ -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();