aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-10-17 02:16:40 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-10-17 02:16:40 +0000
commit28e9a5fe94b96570c3939c61fab18204abdd6b97 (patch)
tree75ab8b4b3638fc6ab73715a5b25bb534aae6b7cc
parent234c6c6c2520e39ca73037445f500805494461fb (diff)
Update comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43064 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/CodeGen/LiveInterval.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/llvm/CodeGen/LiveInterval.h b/include/llvm/CodeGen/LiveInterval.h
index c5e405d68a..69936a0302 100644
--- a/include/llvm/CodeGen/LiveInterval.h
+++ b/include/llvm/CodeGen/LiveInterval.h
@@ -241,10 +241,11 @@ namespace llvm {
void MergeInClobberRanges(const LiveInterval &Clobbers,
BumpPtrAllocator &VNInfoAllocator);
- /// MergeRangesInAsValue - Merge all of the live ranges in RHS into this
- /// live interval as the specified value number. The LiveRanges in RHS are
- /// allowed to overlap with LiveRanges in the current interval, but only if
- /// the overlapping LiveRanges have the specified value number.
+ /// MergeValueInAsValue - Merge all of the live ranges of a specific val#
+ /// in RHS into this live interval as the specified value number.
+ /// The LiveRanges in RHS are allowed to overlap with LiveRanges in the
+ /// current interval, it will replace the value numbers of the overlaped
+ /// live ranges with the specified value number.
void MergeRangesInAsValue(const LiveInterval &RHS, VNInfo *LHSValNo);
/// MergeValueInAsValue - Merge all of the live ranges of a specific val#