[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)
commitaf7e99f2f4be1c49a3827a18eb3529ff6ee3351a
treedd78e5abcd734f9472cb1a4fb91c8cae36465b6e
parent8f49dd3687a3d126cccb359e9f261e3fef0449f7
[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.

llvm-svn: 231332
llvm/lib/CodeGen/MachineBlockPlacement.cpp
llvm/test/CodeGen/X86/block-placement.ll