Temporarily disable the transformation. It's breaking 186.crafty in some configuration.
authorEvan Cheng <evan.cheng@apple.com>
Thu, 12 May 2011 18:44:58 +0000 (18:44 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 12 May 2011 18:44:58 +0000 (18:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131235 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/BranchFolding.cpp

index 0770a5f4d46dd2265dfb3e0d19891c99d0e25f8b..6fc077bc1287fa5b04fec73c5ac76c1a501882f5 100644 (file)
@@ -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++;