summaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegisterCoalescer.cpp
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2013-09-06 16:44:25 +0000
committerMatthias Braun <matze@braunis.de>2013-09-06 16:44:25 +0000
commitc725865bbcfb935f3698f26b6608fdbd2b2d3fd4 (patch)
treec06427bf3a8c746fe71e15a83687eff6848d0d91 /lib/CodeGen/RegisterCoalescer.cpp
parent256cb9eaafef2aef81121be7542e04c40d9017cb (diff)
downloadllvm-c725865bbcfb935f3698f26b6608fdbd2b2d3fd4.tar.gz
llvm-c725865bbcfb935f3698f26b6608fdbd2b2d3fd4.tar.bz2
llvm-c725865bbcfb935f3698f26b6608fdbd2b2d3fd4.tar.xz
fix comment
There's no 'B3' in the example. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190167 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 7c690cdd99..76a46303b0 100644
--- a/lib/CodeGen/RegisterCoalescer.cpp
+++ b/lib/CodeGen/RegisterCoalescer.cpp
@@ -577,7 +577,7 @@ bool RegisterCoalescer::removeCopyByCommutingDef(const CoalescerPair &CP,
LiveInterval &IntB =
LIS->getInterval(CP.isFlipped() ? CP.getSrcReg() : CP.getDstReg());
- // 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.
VNInfo *BValNo = IntB.getVNInfoAt(CopyIdx);
if (!BValNo || BValNo->def != CopyIdx)