mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-03 15:36:21 +00:00
Simplify logic. Any functional change is unintended.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93540 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9521c95f97
commit
057d53993c
@ -108,12 +108,8 @@ bool TailDuplicatePass::runOnMachineFunction(MachineFunction &MF) {
|
||||
MMI = getAnalysisIfAvailable<MachineModuleInfo>();
|
||||
|
||||
bool MadeChange = false;
|
||||
bool MadeChangeThisIteration = true;
|
||||
while (MadeChangeThisIteration) {
|
||||
MadeChangeThisIteration = false;
|
||||
MadeChangeThisIteration |= TailDuplicateBlocks(MF);
|
||||
MadeChange |= MadeChangeThisIteration;
|
||||
}
|
||||
while (TailDuplicateBlocks(MF))
|
||||
MadeChange = true;
|
||||
|
||||
return MadeChange;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user