Changes in directory llvm/lib/CodeGen:

LiveVariables.cpp updated: 1.71 -> 1.72
---
Log message:

Keep track of number of uses within the function per virtual register.

---
Diffs of the changes:  (+1 -0)

 LiveVariables.cpp |    1 +
 1 files changed, 1 insertion(+)


Index: llvm/lib/CodeGen/LiveVariables.cpp
diff -u llvm/lib/CodeGen/LiveVariables.cpp:1.71 
llvm/lib/CodeGen/LiveVariables.cpp:1.72
--- llvm/lib/CodeGen/LiveVariables.cpp:1.71     Sat Mar 17 04:29:54 2007
+++ llvm/lib/CodeGen/LiveVariables.cpp  Tue Apr 17 15:22:11 2007
@@ -141,6 +141,7 @@
   unsigned BBNum = MBB->getNumber();
 
   VRInfo.UsedBlocks[BBNum] = true;
+  VRInfo.NumUses++;
 
   // Check to see if this basic block is already a kill block...
   if (!VRInfo.Kills.empty() && VRInfo.Kills.back()->getParent() == MBB) {



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to