summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-04-18 05:04:38 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-04-18 05:04:38 +0000
commit4c53d321aa258f00e6fa5686bd6446ce4bc4d3e7 (patch)
tree8ce154370a0ae20226640834923998edfa7b9f3f /llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
parentfc40d446c907925d691006e1917328a91a0bb4a7 (diff)
downloadbcm5719-llvm-4c53d321aa258f00e6fa5686bd6446ce4bc4d3e7.tar.gz
bcm5719-llvm-4c53d321aa258f00e6fa5686bd6446ce4bc4d3e7.zip
VarInfo::UsedBlocks is no longer used. Remove.
llvm-svn: 36250
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveIntervalAnalysis.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
index 8b181150f64..6521d97805a 100644
--- a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -1058,10 +1058,9 @@ bool LiveIntervals::JoinCopy(MachineInstr *CopyMI,
for (const unsigned *AS = mri_->getAliasSet(repDstReg); *AS; ++AS)
getInterval(*AS).MergeInClobberRanges(SrcInt);
} else {
- // Merge UsedBlocks info if the destination is a virtual register.
+ // Merge use info if the destination is a virtual register.
LiveVariables::VarInfo& dVI = lv_->getVarInfo(repDstReg);
LiveVariables::VarInfo& sVI = lv_->getVarInfo(repSrcReg);
- dVI.UsedBlocks |= sVI.UsedBlocks;
dVI.NumUses += sVI.NumUses;
}
OpenPOWER on IntegriCloud