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 | 2f16b91ce0707291bd51fa62089603f7d9ac699d (patch) | |
tree | 37ca7e17d9af11f9f786c26bbf786d2e857427d7 /llvm/lib/CodeGen/RenderMachineFunction.cpp | |
parent | ee4eb2bad1d5a4eefbc7e19407778c243b36f7ad (diff) | |
download | bcm5719-llvm-2f16b91ce0707291bd51fa62089603f7d9ac699d.tar.gz bcm5719-llvm-2f16b91ce0707291bd51fa62089603f7d9ac699d.zip |
The variable liTRC is not used for anything useful, zap it
(gcc-4.6 warning).
llvm-svn: 117022
Diffstat (limited to 'llvm/lib/CodeGen/RenderMachineFunction.cpp')
-rw-r--r-- | llvm/lib/CodeGen/RenderMachineFunction.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/RenderMachineFunction.cpp b/llvm/lib/CodeGen/RenderMachineFunction.cpp index 31a0982fc40..cbfd5a23d63 100644 --- a/llvm/lib/CodeGen/RenderMachineFunction.cpp +++ b/llvm/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(); |