[llvm-commits] CVS: llvm/lib/CodeGen/LiveIntervals.cpp
Alkis Evlogimenos
alkis at niobe.cs.uiuc.edu
Fri Feb 20 14:44:02 PST 2004
Changes in directory llvm/lib/CodeGen:
LiveIntervals.cpp updated: 1.55 -> 1.56
---
Log message:
Rename statistic and add another one.
---
Diffs of the changes: (+6 -3)
Index: llvm/lib/CodeGen/LiveIntervals.cpp
diff -u llvm/lib/CodeGen/LiveIntervals.cpp:1.55 llvm/lib/CodeGen/LiveIntervals.cpp:1.56
--- llvm/lib/CodeGen/LiveIntervals.cpp:1.55 Fri Feb 20 00:15:39 2004
+++ llvm/lib/CodeGen/LiveIntervals.cpp Fri Feb 20 14:43:08 2004
@@ -42,7 +42,10 @@
"Live Interval Analysis");
Statistic<> numIntervals("liveintervals", "Number of intervals");
- Statistic<> numJoined ("liveintervals", "Number of joined intervals");
+ Statistic<> numJoined ("liveintervals", "Number of intervals after "
+ "coalescing");
+ Statistic<> numJoins ("liveintervals", "Number of interval joins "
+ "performed");
Statistic<> numPeep ("liveintervals", "Number of identity moves "
"eliminated after coalescing");
Statistic<> numFolded ("liveintervals", "Number of register operands "
@@ -636,8 +639,8 @@
cur = mergeRangesForward(cur);
cur = mergeRangesBackward(cur);
}
- if (MRegisterInfo::isVirtualRegister(reg))
- weight += other.weight;
+ weight += other.weight;
+ ++numJoins;
}
LiveIntervals::Interval::Ranges::iterator
More information about the llvm-commits
mailing list