projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6abfa46
)
The variable liTRC is not used for anything useful, zap it
author
Duncan Sands
<baldrick@free.fr>
Thu, 21 Oct 2010 16:04:43 +0000
(16:04 +0000)
committer
Duncan 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
patch
|
blob
|
history
diff --git
a/lib/CodeGen/RenderMachineFunction.cpp
b/lib/CodeGen/RenderMachineFunction.cpp
index 31a0982fc40a3f114d0af79cd338f462dc1d8d41..cbfd5a23d63d6635c81151417193d87cdadbd07d 100644
(file)
--- 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();