Fix this assertion string to mention subreg_to_reg.
authorDan Gohman <gohman@apple.com>
Mon, 21 Sep 2009 15:18:33 +0000 (15:18 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 21 Sep 2009 15:18:33 +0000 (15:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82455 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SimpleRegisterCoalescing.cpp

index 5b3b6a907f1a58d038d95f7da0faa6f42fe428ee..bbb742678fb7de79e6e632c966b89a9ee117c97b 100644 (file)
@@ -1296,8 +1296,8 @@ bool SimpleRegisterCoalescing::JoinCopy(CopyRec &TheCopy, bool &Again) {
     if (SrcSubIdx && SrcSubIdx != DstSubIdx) {
       // r1025 = INSERT_SUBREG r1025, r1024<2>, 2 Then r1024 has already been
       // coalesced to a larger register so the subreg indices cancel out.
-      DEBUG(errs() << "\tSource of insert_subreg is already coalesced "
-                   << "to another register.\n");
+      DEBUG(errs() << "\tSource of insert_subreg or subreg_to_reg is already "
+                      "coalesced to another register.\n");
       return false;  // Not coalescable.
     }
   } else if (!tii_->isMoveInstr(*CopyMI, SrcReg, DstReg, SrcSubIdx, DstSubIdx)){