fix comment
authorMatthias Braun <matze@braunis.de>
Fri, 6 Sep 2013 16:44:25 +0000 (16:44 +0000)
committerMatthias Braun <matze@braunis.de>
Fri, 6 Sep 2013 16:44:25 +0000 (16:44 +0000)
There's no 'B3' in the example.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190167 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/RegisterCoalescer.cpp

index 7c690cdd9940f6a29cd4310c235f2ea73e33da9d..76a46303b074603aaba5e08a8429af60915da9b4 100644 (file)
@@ -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)