From 33469b2cae0321879d7dcf836660ce20496a717c 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. llvm-svn: 131235 --- llvm/lib/CodeGen/BranchFolding.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'llvm/lib/CodeGen/BranchFolding.cpp') diff --git a/llvm/lib/CodeGen/BranchFolding.cpp b/llvm/lib/CodeGen/BranchFolding.cpp index 0770a5f..6fc077b 100644 --- a/llvm/lib/CodeGen/BranchFolding.cpp +++ b/llvm/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.1