From 0c42dc4784c77adf363995fe3962cbd2da2ac4d0 Mon Sep 17 00:00:00 2001 From: Daniel Jasper Date: Tue, 11 Oct 2016 07:36:11 +0000 Subject: 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 --- llvm/lib/CodeGen/TailDuplication.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/CodeGen/TailDuplication.cpp') diff --git a/llvm/lib/CodeGen/TailDuplication.cpp b/llvm/lib/CodeGen/TailDuplication.cpp index e2377d89497..6e8ee9e2634 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(); - Duplicator.initMF(MF, MBPI, /* LayoutMode */ false); + Duplicator.initMF(MF, MBPI); bool MadeChange = false; while (Duplicator.tailDuplicateBlocks()) -- cgit v1.2.3