mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-03 01:46:06 +00:00
Indicate that there are changes if runOfFunction returns saying that there are.
Patch by Jingyue! llvm-svn: 137072
This commit is contained in:
parent
5838c0c47e
commit
d12cec8093
@ -1532,7 +1532,7 @@ bool FPPassManager::runOnModule(Module &M) {
|
||||
bool Changed = doInitialization(M);
|
||||
|
||||
for (Module::iterator I = M.begin(), E = M.end(); I != E; ++I)
|
||||
runOnFunction(*I);
|
||||
Changed |= runOnFunction(*I);
|
||||
|
||||
return doFinalization(M) || Changed;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user