summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveInterval.cpp
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2018-01-29 22:03:00 +0000
committerMatthias Braun <matze@braunis.de>2018-01-29 22:03:00 +0000
commitbd4bc3f186e19505f0ae77d2c0365aa5a5960e6b (patch)
tree98d2efc3f9c5a2fabd0962f245eeb39b8f22d209 /llvm/lib/CodeGen/LiveInterval.cpp
parentd0c89f851bc0c7f63206701bb9f1fa2ccf8eb0b4 (diff)
downloadbcm5719-llvm-bd4bc3f186e19505f0ae77d2c0365aa5a5960e6b.tar.gz
bcm5719-llvm-bd4bc3f186e19505f0ae77d2c0365aa5a5960e6b.zip
LiveInterval: Print weight in print() function.
llvm-svn: 323702
Diffstat (limited to 'llvm/lib/CodeGen/LiveInterval.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveInterval.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/LiveInterval.cpp b/llvm/lib/CodeGen/LiveInterval.cpp
index 302c75133e3..87479b2938f 100644
--- a/llvm/lib/CodeGen/LiveInterval.cpp
+++ b/llvm/lib/CodeGen/LiveInterval.cpp
@@ -991,6 +991,7 @@ void LiveInterval::print(raw_ostream &OS) const {
// Print subranges
for (const SubRange &SR : subranges())
OS << SR;
+ OS << " weight:" << weight;
}
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
OpenPOWER on IntegriCloud