aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-09-19 01:05:16 +0000
committerChris Lattner <sabre@nondot.org>2004-09-19 01:05:16 +0000
commitf5afcabff887c2e9023f0c69c44f1de15b5c4347 (patch)
treee945b5860d0ccbf99d8f584783b7f1c7bd37eb60 /lib
parent0c0aa711b8a0550c21f032125c4663ff45864f81 (diff)
downloadexternal_llvm-f5afcabff887c2e9023f0c69c44f1de15b5c4347.zip
external_llvm-f5afcabff887c2e9023f0c69c44f1de15b5c4347.tar.gz
external_llvm-f5afcabff887c2e9023f0c69c44f1de15b5c4347.tar.bz2
Add comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16400 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Transforms/IPO/ArgumentPromotion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/IPO/ArgumentPromotion.cpp b/lib/Transforms/IPO/ArgumentPromotion.cpp
index 6e78ff8..7b5def4 100644
--- a/lib/Transforms/IPO/ArgumentPromotion.cpp
+++ b/lib/Transforms/IPO/ArgumentPromotion.cpp
@@ -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)