瀏覽代碼

LiveInterval: Print weight in print() function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@323702 91177308-0d34-0410-b5e6-96231b3b80d8
Matthias Braun 7 年之前
父節點
當前提交
88fdf29ab6
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      lib/CodeGen/LiveInterval.cpp

+ 1 - 0
lib/CodeGen/LiveInterval.cpp

@@ -991,6 +991,7 @@ void LiveInterval::print(raw_ostream &OS) const {
   // Print subranges
   // Print subranges
   for (const SubRange &SR : subranges())
   for (const SubRange &SR : subranges())
     OS << SR;
     OS << SR;
+  OS << " weight:" << weight;
 }
 }
 
 
 #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
 #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)