[llvm] r190167 - fix comment

Matthias Braun matze at braunis.de
Fri Sep 6 09:44:25 PDT 2013


Author: matze
Date: Fri Sep  6 11:44:25 2013
New Revision: 190167

URL: http://llvm.org/viewvc/llvm-project?rev=190167&view=rev
Log:
fix comment

There's no 'B3' in the example.

Modified:
    llvm/trunk/lib/CodeGen/RegisterCoalescer.cpp

Modified: llvm/trunk/lib/CodeGen/RegisterCoalescer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/RegisterCoalescer.cpp?rev=190167&r1=190166&r2=190167&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/RegisterCoalescer.cpp (original)
+++ llvm/trunk/lib/CodeGen/RegisterCoalescer.cpp Fri Sep  6 11:44:25 2013
@@ -577,7 +577,7 @@ bool RegisterCoalescer::removeCopyByComm
   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)





More information about the llvm-commits mailing list