From: Dan Gohman Date: Tue, 17 Nov 2009 18:04:15 +0000 (+0000) Subject: Set MadeChange instead of MadeChangeThisIteration. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=37d60fd1427386f68faeb0217ac2034d1acfe486;p=oota-llvm.git Set MadeChange instead of MadeChangeThisIteration. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89114 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/BranchFolding.cpp b/lib/CodeGen/BranchFolding.cpp index 9ed805174b4..8a6b0de4e3a 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.