From bd4bc3f186e19505f0ae77d2c0365aa5a5960e6b Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Mon, 29 Jan 2018 22:03:00 +0000 Subject: LiveInterval: Print weight in print() function. llvm-svn: 323702 --- llvm/lib/CodeGen/LiveInterval.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/lib/CodeGen/LiveInterval.cpp') 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) -- cgit v1.2.3