[llvm-commits] [llvm] r122016 - /llvm/trunk/lib/CodeGen/SimpleRegisterCoalescing.cpp

Bob Wilson bob.wilson at apple.com
Thu Dec 16 17:21:05 PST 2010


Author: bwilson
Date: Thu Dec 16 19:21:05 2010
New Revision: 122016

URL: http://llvm.org/viewvc/llvm-project?rev=122016&view=rev
Log:
Fix a comment typo.

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

Modified: llvm/trunk/lib/CodeGen/SimpleRegisterCoalescing.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SimpleRegisterCoalescing.cpp?rev=122016&r1=122015&r2=122016&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SimpleRegisterCoalescing.cpp (original)
+++ llvm/trunk/lib/CodeGen/SimpleRegisterCoalescing.cpp Thu Dec 16 19:21:05 2010
@@ -621,8 +621,8 @@
       return false;
   }
 
-  // If destination register has a sub-register index on it, make sure it mtches
-  // the instruction register class.
+  // If destination register has a sub-register index on it, make sure it
+  // matches the instruction register class.
   if (DstSubIdx) {
     const TargetInstrDesc &TID = DefMI->getDesc();
     if (TID.getNumDefs() != 1)





More information about the llvm-commits mailing list