summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2013-03-07 19:21:08 +0000
committerAndrew Trick <atrick@apple.com>2013-03-07 19:21:08 +0000
commit0f23b763a96b06afffc6d2cbaaf1219a320af310 (patch)
tree0f8bceffc5cfc0a69b54328c65ae0b80dc9d1c8e /llvm/lib/CodeGen/SelectionDAG
parent2ba0c0b927b5fe52a259934ec9d8b951948012d4 (diff)
downloadbcm5719-llvm-0f23b763a96b06afffc6d2cbaaf1219a320af310.tar.gz
bcm5719-llvm-0f23b763a96b06afffc6d2cbaaf1219a320af310.zip
pre-RA-sched debug-only fix
llvm-svn: 176638
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
index f843584a91c..c009cfcc516 100644
--- a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
@@ -1360,8 +1360,10 @@ SUnit *ScheduleDAGRRList::PickNodeToScheduleBottomUp() {
SmallVector<unsigned, 4> LRegs;
if (!DelayForLiveRegsBottomUp(CurSU, LRegs))
break;
- DEBUG(dbgs() << " Interfering reg " << TRI->getName(LRegs[0])
- << " SU #" << CurSU->NodeNum << '\n');
+ DEBUG(dbgs() << " Interfering reg " <<
+ (LRegs[0] == TRI->getNumRegs() ? "CallResource"
+ : TRI->getName(LRegs[0]))
+ << " SU #" << CurSU->NodeNum << '\n');
std::pair<LRegsMapT::iterator, bool> LRegsPair =
LRegsMap.insert(std::make_pair(CurSU, LRegs));
if (LRegsPair.second) {
OpenPOWER on IntegriCloud