projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b671618
)
pre-RA-sched debug-only fix
author
Andrew Trick
<atrick@apple.com>
Thu, 7 Mar 2013 19:21:08 +0000
(19:21 +0000)
committer
Andrew Trick
<atrick@apple.com>
Thu, 7 Mar 2013 19:21:08 +0000
(19:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176638
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
b/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
index f843584a91c5006e4bc74a5a256b71f7b7da6167..c009cfcc516da88231ee9b46191da8162a95a80f 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
+++ b/
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) {