summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/BranchFolding.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2011-05-12 18:44:58 +0000
committerEvan Cheng <evan.cheng@apple.com>2011-05-12 18:44:58 +0000
commit33469b2cae0321879d7dcf836660ce20496a717c (patch)
tree730bf321cdc37f67886a00fb9863af22c617e63a /llvm/lib/CodeGen/BranchFolding.cpp
parent9efe39ea38028403bab4bfa54ff4a3ba950edf63 (diff)
downloadbcm5719-llvm-33469b2cae0321879d7dcf836660ce20496a717c.tar.gz
bcm5719-llvm-33469b2cae0321879d7dcf836660ce20496a717c.zip
Temporarily disable the transformation. It's breaking 186.crafty in some configuration.
llvm-svn: 131235
Diffstat (limited to 'llvm/lib/CodeGen/BranchFolding.cpp')
-rw-r--r--llvm/lib/CodeGen/BranchFolding.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/BranchFolding.cpp b/llvm/lib/CodeGen/BranchFolding.cpp
index 0770a5f4d46..6fc077bc128 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++;
OpenPOWER on IntegriCloud