aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TailDuplication.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2016-10-11 07:36:11 +0000
committerDaniel Jasper <djasper@google.com>2016-10-11 07:36:11 +0000
commit0c42dc4784c77adf363995fe3962cbd2da2ac4d0 (patch)
treec7deba39d818d7e8228f3cfd6b5ca59c31f7b41f /llvm/lib/CodeGen/TailDuplication.cpp
parent0df59d8c029db83a6ca7de2186fcd556c7d7ab29 (diff)
downloadllvm-0c42dc4784c77adf363995fe3962cbd2da2ac4d0.zip
llvm-0c42dc4784c77adf363995fe3962cbd2da2ac4d0.tar.gz
llvm-0c42dc4784c77adf363995fe3962cbd2da2ac4d0.tar.bz2
Revert "Codegen: Tail-duplicate during placement."
This reverts commit r283842. test/CodeGen/X86/tail-dup-repeat.ll causes and llc crash with our internal testing. I'll share a link with you. llvm-svn: 283857
Diffstat (limited to 'llvm/lib/CodeGen/TailDuplication.cpp')
-rw-r--r--llvm/lib/CodeGen/TailDuplication.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/TailDuplication.cpp b/llvm/lib/CodeGen/TailDuplication.cpp
index e2377d8..6e8ee9e 100644
--- a/llvm/lib/CodeGen/TailDuplication.cpp
+++ b/llvm/lib/CodeGen/TailDuplication.cpp
@@ -49,7 +49,7 @@ bool TailDuplicatePass::runOnMachineFunction(MachineFunction &MF) {
auto MBPI = &getAnalysis<MachineBranchProbabilityInfo>();
- Duplicator.initMF(MF, MBPI, /* LayoutMode */ false);
+ Duplicator.initMF(MF, MBPI);
bool MadeChange = false;
while (Duplicator.tailDuplicateBlocks())