mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-25 21:16:19 +00:00
Add comment
llvm-svn: 16400
This commit is contained in:
parent
12bcdf2e01
commit
188b4e4983
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user