From 323ece6fcd9722482a0be6c82afc5abc75739c78 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 25 Oct 2006 18:08:50 +0000 Subject: [PATCH] turn off tail merging for now git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31180 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/BranchFolding.cpp | 2 ++ 1 file changed, 2 insertions(+) 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) {