aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/LiveIntervalAnalysis.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-09-25 23:26:56 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-09-25 23:26:56 +0000
commit295a8089cd76079d3e2798c6a44ee249852cab12 (patch)
treecdc13371353c6d78d6938b5bd01bf129135a7098 /lib/CodeGen/LiveIntervalAnalysis.cpp
parent79cb8401363fc666289bfef1e37d1faa1e94422d (diff)
downloadexternal_llvm-295a8089cd76079d3e2798c6a44ee249852cab12.zip
external_llvm-295a8089cd76079d3e2798c6a44ee249852cab12.tar.gz
external_llvm-295a8089cd76079d3e2798c6a44ee249852cab12.tar.bz2
Remove unused variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82821 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r--lib/CodeGen/LiveIntervalAnalysis.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp
index be78200..4f4bb9b 100644
--- a/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -1089,8 +1089,6 @@ LiveIntervals::isProfitableToCoalesce(LiveInterval &DstInt, LiveInterval &SrcInt
unsigned NumIdent = 0;
for (MachineRegisterInfo::def_iterator ri = mri_->def_begin(SrcInt.reg),
re = mri_->def_end(); ri != re; ++ri) {
- MachineOperand &O = ri.getOperand();
-
MachineInstr *MI = &*ri;
unsigned SrcReg, DstReg, SrcSubReg, DstSubReg;
if (!tii_->isMoveInstr(*MI, SrcReg, DstReg, SrcSubReg, DstSubReg))