Fix typos in assertion strings.
authorDan Gohman <gohman@apple.com>
Thu, 29 Apr 2010 23:25:34 +0000 (23:25 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 29 Apr 2010 23:25:34 +0000 (23:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102666 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SimpleRegisterCoalescing.cpp

index 768975934f207b18db980fc44fdf689d7fc5c66f..e7c758db092ef22f84cca96c93b36b4918e5451f 100644 (file)
@@ -1512,7 +1512,7 @@ bool SimpleRegisterCoalescing::JoinCopy(CopyRec &TheCopy, bool &Again) {
         }
 
         if (!isWinToJoinCrossClass(SrcReg, DstReg, SrcRC, DstRC, NewRC)) {
-          DEBUG(dbgs() << "\tAvoid coalescing to constrainted register class: "
+          DEBUG(dbgs() << "\tAvoid coalescing to constrained register class: "
                        << SrcRC->getName() << "/"
                        << DstRC->getName() << " -> "
                        << NewRC->getName() << ".\n");
@@ -1586,7 +1586,7 @@ bool SimpleRegisterCoalescing::JoinCopy(CopyRec &TheCopy, bool &Again) {
       // class is more restrictive (fewer register, smaller size). Check if it's
       // worth doing the merge.
       if (!isWinToJoinCrossClass(SrcReg, DstReg, SrcRC, DstRC, NewRC)) {
-        DEBUG(dbgs() << "\tAvoid coalescing to constrainted register class: "
+        DEBUG(dbgs() << "\tAvoid coalescing to constrained register class: "
                      << SrcRC->getName() << "/"
                      << DstRC->getName() << " -> "
                      << NewRC->getName() << ".\n");