diff --git a/lib/Transforms/IPO/ArgumentPromotion.cpp b/lib/Transforms/IPO/ArgumentPromotion.cpp index 927c60a23fb..3e3e265c6ed 100644 --- a/lib/Transforms/IPO/ArgumentPromotion.cpp +++ b/lib/Transforms/IPO/ArgumentPromotion.cpp @@ -87,7 +87,6 @@ bool ArgPromotion::runOnSCC(const std::vector &SCC) { // Attempt to promote arguments from all functions in this SCC. for (unsigned i = 0, e = SCC.size(); i != e; ++i) LocalChange |= PromoteArguments(SCC[i]); - if (LocalChange) return true; Changed |= LocalChange; // Remember that we changed something. } while (LocalChange);