mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-05 12:31:33 +00:00
Add comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16400 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0c0aa711b8
commit
f5afcabff8
@ -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