aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/BranchFolding.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-10-25 18:08:50 +0000
committerChris Lattner <sabre@nondot.org>2006-10-25 18:08:50 +0000
commit323ece6fcd9722482a0be6c82afc5abc75739c78 (patch)
treec14c898f9245a7cd39836ae6f2dfbedd5dbac8c0 /lib/CodeGen/BranchFolding.cpp
parent13a04125df039d118c688df26998343a00d8a749 (diff)
turn off tail merging for now
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31180 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/BranchFolding.cpp')
-rw-r--r--lib/CodeGen/BranchFolding.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/BranchFolding.cpp b/lib/CodeGen/BranchFolding.cpp
index 652a647189..202f986bd2 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<std::pair<unsigned,MachineBasicBlock*> > MergePotentials;
for (MachineFunction::iterator I = MF.begin(), E = MF.end(); I != E; ++I) {