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:
e9564b2
)
RegisterPressure: Slightly nicer pressure diff dumping
author
Matthias Braun
<matze@braunis.de>
Tue, 3 Nov 2015 01:53:33 +0000
(
01:53
+0000)
committer
Matthias Braun
<matze@braunis.de>
Tue, 3 Nov 2015 01:53:33 +0000
(
01:53
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251884
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/RegisterPressure.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/RegisterPressure.cpp
b/lib/CodeGen/RegisterPressure.cpp
index ba0a9158b46c192bfa56ae2d1a630cc7b709199d..57dde2f2e2d0ef01fa7bcecb4899fafb30282877 100644
(file)
--- a/
lib/CodeGen/RegisterPressure.cpp
+++ b/
lib/CodeGen/RegisterPressure.cpp
@@
-78,11
+78,13
@@
void RegPressureTracker::dump() const {
}
void PressureDiff::dump(const TargetRegisterInfo &TRI) const {
+ const char *sep = "";
for (const PressureChange &Change : *this) {
if (!Change.isValid())
break;
- dbgs() <<
" "
<< TRI.getRegPressureSetName(Change.getPSet())
+ dbgs() <<
sep
<< TRI.getRegPressureSetName(Change.getPSet())
<< " " << Change.getUnitInc();
+ sep = " ";
}
dbgs() << '\n';
}