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 | 2650723d8122326d2096c5e40c64303dd798717a (patch) | |
| tree | 0005f23dc113346d359fd98319a9451630176d68 /llvm/lib/CodeGen/BranchFolding.cpp | |
| parent | 6eedcc1b86a10b2690803fe5e0d134aa7e3df5a8 (diff) | |
| download | bcm5719-llvm-2650723d8122326d2096c5e40c64303dd798717a.tar.gz bcm5719-llvm-2650723d8122326d2096c5e40c64303dd798717a.zip | |
Set MadeChange instead of MadeChangeThisIteration.
llvm-svn: 89114
Diffstat (limited to 'llvm/lib/CodeGen/BranchFolding.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/BranchFolding.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/BranchFolding.cpp b/llvm/lib/CodeGen/BranchFolding.cpp index 9ed805174b4..8a6b0de4e3a 100644 --- a/llvm/lib/CodeGen/BranchFolding.cpp +++ b/llvm/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. |

