Disable the logic added by rafael in commit 133415 to see if it brings the
authorDuncan Sands <baldrick@free.fr>
Mon, 20 Jun 2011 09:26:23 +0000 (09:26 +0000)
committerDuncan Sands <baldrick@free.fr>
Mon, 20 Jun 2011 09:26:23 +0000 (09:26 +0000)
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

lib/CodeGen/TailDuplication.cpp

index f93840103e0ee390160111c139720d0785c6237a..89160709f425d5f86ec4c9b0b9769b02ce5efb4c 100644 (file)
@@ -707,7 +707,7 @@ TailDuplicatePass::TailDuplicate(MachineBasicBlock *TailBB, MachineFunction &MF,
   DenseSet<unsigned> 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