Fix a comment typo.
authorBob Wilson <bob.wilson@apple.com>
Fri, 17 Dec 2010 01:21:05 +0000 (01:21 +0000)
committerBob Wilson <bob.wilson@apple.com>
Fri, 17 Dec 2010 01:21:05 +0000 (01:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122016 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SimpleRegisterCoalescing.cpp

index 74e72af329307f64b47516248bac7b4dbabf1a00..993f5feb5f9ff7619cf23fe6f650b03b01e11bd5 100644 (file)
@@ -621,8 +621,8 @@ bool SimpleRegisterCoalescing::ReMaterializeTrivialDef(LiveInterval &SrcInt,
       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)