From: Duncan Sands Date: Mon, 20 Jun 2011 09:26:23 +0000 (+0000) Subject: Disable the logic added by rafael in commit 133415 to see if it brings the X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=2ee2d932328522267d845402e8b31d1d06f8bdd1;p=oota-llvm.git Disable the logic added by rafael in commit 133415 to see if it brings the dragonegg buildbots back to life. Original commit message: Teach early dup how to duplicate basic blocks with one successor and only phi instructions into more complex blocks. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133430 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/TailDuplication.cpp b/lib/CodeGen/TailDuplication.cpp index f93840103e0..89160709f42 100644 --- a/lib/CodeGen/TailDuplication.cpp +++ b/lib/CodeGen/TailDuplication.cpp @@ -707,7 +707,7 @@ TailDuplicatePass::TailDuplicate(MachineBasicBlock *TailBB, MachineFunction &MF, DenseSet UsedByPhi; getRegsUsedByPHIs(*TailBB, &UsedByPhi); - if (isSimpleBB(TailBB)) + if (0 && isSimpleBB(TailBB)) // Disabled to see if doing so fixes buildbots. return duplicateSimpleBB(TailBB, TDBBs, UsedByPhi, Copies); // Iterate through all the unique predecessors and tail-duplicate this