Add comment
authorChris Lattner <sabre@nondot.org>
Sun, 19 Sep 2004 01:05:16 +0000 (01:05 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 19 Sep 2004 01:05:16 +0000 (01:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16400 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/IPO/ArgumentPromotion.cpp

index 6e78ff8b92cb8e3e7f7c028ae752d5699e41e2cf..7b5def4284d839caa1e40ba93b71e2bb610ebf19 100644 (file)
@@ -82,7 +82,7 @@ Pass *llvm::createArgumentPromotionPass() {
 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)