No subject

matze at braunis.de matze at braunis.de
Thu Aug 29 15:46:07 PDT 2013


>From 02d89dcc988d30d6b07e999ebfde0a81592c0dcb Mon Sep 17 00:00:00 2001
Message-Id: <02d89dcc988d30d6b07e999ebfde0a81592c0dcb.1377815701.git.matze at braunis.de>
From: Matthias Braun <matze at braunis.de>
Date: Tue, 27 Aug 2013 13:13:51 -0700
Subject: [PATCH 1/5] fix comment
To: llvm-commits at cs.uiuc.edu

There's no 'B3' in the example.
---
 lib/CodeGen/RegisterCoalescer.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/CodeGen/RegisterCoalescer.cpp b/lib/CodeGen/RegisterCoalescer.cpp
index 7c690cd..76a4630 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)
-- 
1.8.3.4




More information about the llvm-commits mailing list