diff options
author | Duncan Sands <baldrick@free.fr> | 2010-10-21 16:04:43 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2010-10-21 16:04:43 +0000 |
commit | 9bc20ca72839299029eb0d0f34ecdea7c376299e (patch) | |
tree | 4c6bd5177b8799df061271eb63a43e48107f7c9c /lib/CodeGen/RenderMachineFunction.cpp | |
parent | 6abfa46987e4cb47e2d88ea02574c2c082b0625d (diff) |
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
Diffstat (limited to 'lib/CodeGen/RenderMachineFunction.cpp')
-rw-r--r-- | lib/CodeGen/RenderMachineFunction.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/CodeGen/RenderMachineFunction.cpp b/lib/CodeGen/RenderMachineFunction.cpp index 31a0982fc4..cbfd5a23d6 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(); |