summaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegisterCoalescer.cpp
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2013-10-04 16:53:02 +0000
committerMatthias Braun <matze@braunis.de>2013-10-04 16:53:02 +0000
commit0bb5a66b0388d2c52a887eaafe3749aaceb6a754 (patch)
treed19779083eb592eef695fcca5c8b0353703b3780 /lib/CodeGen/RegisterCoalescer.cpp
parentb38d9877f490e6bd65a38048d7e00877c0a670f0 (diff)
downloadllvm-0bb5a66b0388d2c52a887eaafe3749aaceb6a754.tar.gz
llvm-0bb5a66b0388d2c52a887eaafe3749aaceb6a754.tar.bz2
llvm-0bb5a66b0388d2c52a887eaafe3749aaceb6a754.tar.xz
Fix comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191966 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegisterCoalescer.cpp')
-rw-r--r--lib/CodeGen/RegisterCoalescer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/RegisterCoalescer.cpp b/lib/CodeGen/RegisterCoalescer.cpp
index 791f1baf63..4c992617d4 100644
--- a/lib/CodeGen/RegisterCoalescer.cpp
+++ b/lib/CodeGen/RegisterCoalescer.cpp
@@ -434,7 +434,7 @@ bool RegisterCoalescer::adjustCopiesBackFrom(const CoalescerPair &CP,
LIS->getInterval(CP.isFlipped() ? CP.getSrcReg() : CP.getDstReg());
SlotIndex CopyIdx = LIS->getInstructionIndex(CopyMI).getRegSlot();
- // BValNo is a value number in B that is defined by a copy from A. 'B3' in
+ // BValNo is a value number in B that is defined by a copy from A. 'B1' in
// the example above.
LiveInterval::iterator BLR = IntB.FindLiveRangeContaining(CopyIdx);
if (BLR == IntB.end()) return false;