summaryrefslogtreecommitdiff
path: root/lib/CodeGen/TailDuplication.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2011-06-20 09:26:23 +0000
committerDuncan Sands <baldrick@free.fr>2011-06-20 09:26:23 +0000
commit2ee2d932328522267d845402e8b31d1d06f8bdd1 (patch)
tree8f35370c5a5b07a396446fc1aff1f8cf0e6da9f4 /lib/CodeGen/TailDuplication.cpp
parent4720611025276f01b158a1522620391332ffdc32 (diff)
downloadllvm-2ee2d932328522267d845402e8b31d1d06f8bdd1.tar.gz
llvm-2ee2d932328522267d845402e8b31d1d06f8bdd1.tar.bz2
llvm-2ee2d932328522267d845402e8b31d1d06f8bdd1.tar.xz
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
Diffstat (limited to 'lib/CodeGen/TailDuplication.cpp')
-rw-r--r--lib/CodeGen/TailDuplication.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/TailDuplication.cpp b/lib/CodeGen/TailDuplication.cpp
index f93840103e..89160709f4 100644
--- a/lib/CodeGen/TailDuplication.cpp
+++ b/lib/CodeGen/TailDuplication.cpp
@@ -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