Add comment

llvm-svn: 16400
This commit is contained in:
Chris Lattner 2004-09-19 01:05:16 +00:00
parent 12bcdf2e01
commit 188b4e4983

View File

@ -82,7 +82,7 @@ Pass *llvm::createArgumentPromotionPass() {
bool ArgPromotion::runOnSCC(const std::vector<CallGraphNode *> &SCC) { bool ArgPromotion::runOnSCC(const std::vector<CallGraphNode *> &SCC) {
bool Changed = false, LocalChange; bool Changed = false, LocalChange;
do { do { // Iterate until we stop promoting from this SCC.
LocalChange = false; LocalChange = false;
// Attempt to promote arguments from all functions in this SCC. // Attempt to promote arguments from all functions in this SCC.
for (unsigned i = 0, e = SCC.size(); i != e; ++i) for (unsigned i = 0, e = SCC.size(); i != e; ++i)