[llvm-commits] [llvm] r89114 - /llvm/trunk/lib/CodeGen/BranchFolding.cpp
Dan Gohman
gohman at apple.com
Tue Nov 17 10:04:15 PST 2009
Author: djg
Date: Tue Nov 17 12:04:15 2009
New Revision: 89114
URL: http://llvm.org/viewvc/llvm-project?rev=89114&view=rev
Log:
Set MadeChange instead of MadeChangeThisIteration.
Modified:
llvm/trunk/lib/CodeGen/BranchFolding.cpp
Modified: llvm/trunk/lib/CodeGen/BranchFolding.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/BranchFolding.cpp?rev=89114&r1=89113&r2=89114&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/BranchFolding.cpp (original)
+++ llvm/trunk/lib/CodeGen/BranchFolding.cpp Tue Nov 17 12:04:15 2009
@@ -205,7 +205,7 @@
// 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.
More information about the llvm-commits
mailing list