[llvm-commits] [llvm] r82455 - /llvm/trunk/lib/CodeGen/SimpleRegisterCoalescing.cpp
Dan Gohman
gohman at apple.com
Mon Sep 21 08:18:33 PDT 2009
Author: djg
Date: Mon Sep 21 10:18:33 2009
New Revision: 82455
URL: http://llvm.org/viewvc/llvm-project?rev=82455&view=rev
Log:
Fix this assertion string to mention subreg_to_reg.
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=82455&r1=82454&r2=82455&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SimpleRegisterCoalescing.cpp (original)
+++ llvm/trunk/lib/CodeGen/SimpleRegisterCoalescing.cpp Mon Sep 21 10:18:33 2009
@@ -1296,8 +1296,8 @@
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)){
More information about the llvm-commits
mailing list