[llvm-commits] CVS: llvm/lib/Transforms/IPO/ArgumentPromotion.cpp 
    Chris Lattner 
    lattner at cs.uiuc.edu
       
    Sat Sep 18 18:05:29 PDT 2004
    
    
  
Changes in directory llvm/lib/Transforms/IPO:
ArgumentPromotion.cpp updated: 1.11 -> 1.12
---
Log message:
Add comment
---
Diffs of the changes:  (+1 -1)
Index: llvm/lib/Transforms/IPO/ArgumentPromotion.cpp
diff -u llvm/lib/Transforms/IPO/ArgumentPromotion.cpp:1.11 llvm/lib/Transforms/IPO/ArgumentPromotion.cpp:1.12
--- llvm/lib/Transforms/IPO/ArgumentPromotion.cpp:1.11	Fri Sep 17 19:34:13 2004
+++ llvm/lib/Transforms/IPO/ArgumentPromotion.cpp	Sat Sep 18 20:05:16 2004
@@ -82,7 +82,7 @@
 bool ArgPromotion::runOnSCC(const std::vector<CallGraphNode *> &SCC) {
   bool Changed = false, LocalChange;
 
-  do {
+  do {  // Iterate until we stop promoting from this SCC.
     LocalChange = false;
     // Attempt to promote arguments from all functions in this SCC.
     for (unsigned i = 0, e = SCC.size(); i != e; ++i)
    
    
More information about the llvm-commits
mailing list