[llvm-commits] [llvm] r131235 - /llvm/trunk/lib/CodeGen/BranchFolding.cpp
Evan Cheng
evan.cheng at apple.com
Thu May 12 11:44:58 PDT 2011
Author: evancheng
Date: Thu May 12 13:44:58 2011
New Revision: 131235
URL: http://llvm.org/viewvc/llvm-project?rev=131235&view=rev
Log:
Temporarily disable the transformation. It's breaking 186.crafty in some configuration.
Modified:
llvm/trunk/lib/CodeGen/BranchFolding.cpp
Modified: llvm/trunk/lib/CodeGen/BranchFolding.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/BranchFolding.cpp?rev=131235&r1=131234&r2=131235&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/BranchFolding.cpp (original)
+++ llvm/trunk/lib/CodeGen/BranchFolding.cpp Thu May 12 13:44:58 2011
@@ -1354,6 +1354,10 @@
/// 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++;
More information about the llvm-commits
mailing list