aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/BranchFolding.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen/BranchFolding.cpp')
-rw-r--r--lib/CodeGen/BranchFolding.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/BranchFolding.cpp b/lib/CodeGen/BranchFolding.cpp
index 9ed805174b..8a6b0de4e3 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.