diff options
author | Dan Gohman <gohman@apple.com> | 2009-11-17 18:04:15 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-11-17 18:04:15 +0000 |
commit | 4b167eeef90ff3d7c5195ce6f2b1acb4478d522c (patch) | |
tree | 72ad709adc9f8af83aee748c7de5adbf0e598018 /lib/CodeGen/BranchFolding.cpp | |
parent | c77d9a4bdcb38493ce2b210b0e8e306181608657 (diff) | |
download | external_llvm-4b167eeef90ff3d7c5195ce6f2b1acb4478d522c.zip external_llvm-4b167eeef90ff3d7c5195ce6f2b1acb4478d522c.tar.gz external_llvm-4b167eeef90ff3d7c5195ce6f2b1acb4478d522c.tar.bz2 |
Set MadeChange instead of MadeChangeThisIteration.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89114 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/BranchFolding.cpp')
-rw-r--r-- | lib/CodeGen/BranchFolding.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/BranchFolding.cpp b/lib/CodeGen/BranchFolding.cpp index 9ed8051..8a6b0de 100644 --- a/lib/CodeGen/BranchFolding.cpp +++ b/lib/CodeGen/BranchFolding.cpp @@ -205,7 +205,7 @@ bool BranchFolder::OptimizeFunction(MachineFunction &MF, // Do tail duplication once after tail merging is done. Otherwise it is // tough to avoid situations where tail duplication and tail merging undo // 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 // did its thing. |