From 30adced41b17cc9a5c301386e80567faccaff04f Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Thu, 12 May 2011 18:44:58 +0000 Subject: Temporarily disable the transformation. It's breaking 186.crafty in some configuration. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131235 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/BranchFolding.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/CodeGen/BranchFolding.cpp') diff --git a/lib/CodeGen/BranchFolding.cpp b/lib/CodeGen/BranchFolding.cpp index 0770a5f4d4..6fc077bc12 100644 --- a/lib/CodeGen/BranchFolding.cpp +++ b/lib/CodeGen/BranchFolding.cpp @@ -1354,6 +1354,10 @@ ReoptimizeBlock: /// NOTE: This optimization does not update live-in information so it must be /// run after all passes that require correct liveness information. bool BranchFolder::HoistCommonCode(MachineFunction &MF) { +#if 1 + // FIXME: Temporarily disabled. + return false; +#endif bool MadeChange = false; for (MachineFunction::iterator I = MF.begin(), E = MF.end(); I != E; ) { MachineBasicBlock *MBB = I++; -- cgit v1.2.3-18-g5258