mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 06:32:09 +00:00
Fix thinko. Update return status appropriately.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40546 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a377a24771
commit
70b36d96b3
@ -65,7 +65,7 @@ bool CondProp::runOnFunction(Function &F) {
|
||||
MadeChange = false;
|
||||
for (Function::iterator BB = F.begin(), E = F.end(); BB != E; ++BB)
|
||||
SimplifyBlock(BB);
|
||||
EverMadeChange = MadeChange;
|
||||
EverMadeChange = EverMadeChange || MadeChange;
|
||||
} while (MadeChange);
|
||||
return EverMadeChange;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user