diff options
author | Kyle Butt <kyle+llvm@iteratee.net> | 2016-10-05 01:39:29 +0000 |
---|---|---|
committer | Kyle Butt <kyle+llvm@iteratee.net> | 2016-10-05 01:39:29 +0000 |
commit | 25ac35d822d35cc1b005ae8a4392b159bc3cb7b7 (patch) | |
tree | 324014aaea1bed530e687581d5c4017385eb8c28 /llvm/lib/CodeGen/TailDuplication.cpp | |
parent | 3e021be3b6e1ab6d7eccb9e75a22df667e6654fe (diff) | |
download | bcm5719-llvm-25ac35d822d35cc1b005ae8a4392b159bc3cb7b7.tar.gz bcm5719-llvm-25ac35d822d35cc1b005ae8a4392b159bc3cb7b7.zip |
Revert "Codegen: Tail-duplicate during placement."
This reverts commit 062ace9764953e9769142c1099281a345f9b6bdc.
Issue with loop info and block removal revealed by polly.
I have a fix for this issue already in another patch, I'll re-roll this
together with that fix, and a test case.
llvm-svn: 283292
Diffstat (limited to 'llvm/lib/CodeGen/TailDuplication.cpp')
-rw-r--r-- | llvm/lib/CodeGen/TailDuplication.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<MachineBranchProbabilityInfo>(); - Duplicator.initMF(MF, MBPI, /* LayoutMode */ false); + Duplicator.initMF(MF, MBPI); bool MadeChange = false; while (Duplicator.tailDuplicateBlocks()) |