projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
110e7bb
)
Set MadeChange instead of MadeChangeThisIteration.
author
Dan Gohman
<gohman@apple.com>
Tue, 17 Nov 2009 18:04:15 +0000
(18:04 +0000)
committer
Dan Gohman
<gohman@apple.com>
Tue, 17 Nov 2009 18:04:15 +0000
(18:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89114
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/BranchFolding.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/BranchFolding.cpp
b/lib/CodeGen/BranchFolding.cpp
index 9ed805174b4b6fbe9a27de95b393447e40df0637..8a6b0de4e3ab6a72e2b5b609473129eddeb02d93 100644
(file)
--- 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.
- MadeChange
ThisIteration
|= TailDuplicateBlocks(MF);
+ MadeChange |= TailDuplicateBlocks(MF);
// See if any jump tables have become mergable or dead as the code generator
// did its thing.