mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-28 17:23:27 +00:00
Set MadeChange instead of MadeChangeThisIteration.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89114 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -205,7 +205,7 @@ bool BranchFolder::OptimizeFunction(MachineFunction &MF,
|
|||||||
// Do tail duplication once after tail merging is done. Otherwise it is
|
// Do tail duplication once after tail merging is done. Otherwise it is
|
||||||
// tough to avoid situations where tail duplication and tail merging undo
|
// tough to avoid situations where tail duplication and tail merging undo
|
||||||
// each other's transformations ad infinitum.
|
// each other's transformations ad infinitum.
|
||||||
MadeChangeThisIteration |= TailDuplicateBlocks(MF);
|
MadeChange |= TailDuplicateBlocks(MF);
|
||||||
|
|
||||||
// See if any jump tables have become mergable or dead as the code generator
|
// See if any jump tables have become mergable or dead as the code generator
|
||||||
// did its thing.
|
// did its thing.
|
||||||
|
|||||||
Reference in New Issue
Block a user