From: Chris Lattner Date: Wed, 25 Oct 2006 18:08:50 +0000 (+0000) Subject: turn off tail merging for now X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=323ece6fcd9722482a0be6c82afc5abc75739c78;p=oota-llvm.git turn off tail merging for now git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31180 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/BranchFolding.cpp b/lib/CodeGen/BranchFolding.cpp index 652a6471897..202f986bd2e 100644 --- a/lib/CodeGen/BranchFolding.cpp +++ b/lib/CodeGen/BranchFolding.cpp @@ -206,6 +206,8 @@ void BranchFolder::ReplaceTailWithBranchTo(MachineBasicBlock::iterator OldInst, bool BranchFolder::TailMergeBlocks(MachineFunction &MF) { MadeChange = false; + return false; + // Find blocks with no successors. std::vector > MergePotentials; for (MachineFunction::iterator I = MF.begin(), E = MF.end(); I != E; ++I) {