[MBP] Revert r231238 which attempted to fix a nasty bug where MBP is
authorChandler Carruth <chandlerc@gmail.com>
Thu, 5 Mar 2015 01:07:03 +0000 (01:07 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Thu, 5 Mar 2015 01:07:03 +0000 (01:07 +0000)
commit4197c13062525eb761cd56c1bb5416203007637f
tree70a482b0d0acfb366f1604f4ee9226997dde218b
parentd12ce78ca9ad070c87625ab014dc3caf257dae7d
[MBP] Revert r231238 which attempted to fix a nasty bug where MBP is
just arbitrarily interleaving unrelated control flows once they get
moved "out-of-line" (both outside of natural CFG ordering and with
diamonds that cannot be fully laid out by chaining fallthrough edges).

This easy solution doesn't work in practice, and it isn't just a small
bug. It looks like a very different strategy will be required. I'm
working on that now, and it'll again go behind some flag so that
everyone can experiment and make sure it is working well for them.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231332 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineBlockPlacement.cpp
test/CodeGen/X86/block-placement.ll