aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-09-21 15:18:33 +0000
committerDan Gohman <gohman@apple.com>2009-09-21 15:18:33 +0000
commit30a8d480ddd031f85b3386db7ccfe11e027b525c (patch)
treea279ef1b4b6907f33840c4c3934ea71ddf2998e7 /lib
parent56b9fc1caef68a302d561472c1691ded886efd56 (diff)
downloadexternal_llvm-30a8d480ddd031f85b3386db7ccfe11e027b525c.zip
external_llvm-30a8d480ddd031f85b3386db7ccfe11e027b525c.tar.gz
external_llvm-30a8d480ddd031f85b3386db7ccfe11e027b525c.tar.bz2
Fix this assertion string to mention subreg_to_reg.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82455 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/SimpleRegisterCoalescing.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/SimpleRegisterCoalescing.cpp b/lib/CodeGen/SimpleRegisterCoalescing.cpp
index 5b3b6a9..bbb7426 100644
--- a/lib/CodeGen/SimpleRegisterCoalescing.cpp
+++ b/lib/CodeGen/SimpleRegisterCoalescing.cpp
@@ -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)){