]> granicus.if.org Git - llvm/commit
[MBP] Code cleanup /NFC
authorXinliang David Li <davidxl@google.com>
Sat, 11 Jun 2016 18:35:40 +0000 (18:35 +0000)
committerXinliang David Li <davidxl@google.com>
Sat, 11 Jun 2016 18:35:40 +0000 (18:35 +0000)
commit2e5514a92531d7be87a85a05f39c162a42535083
treeb76b4619085388563bef50aeb502d4aa6bb19ef3
parent62bc28788bfda334794f27d8db70e4a00a39cce2
[MBP] Code cleanup /NFC

This is one of the patches to clean up the code so that
it is in a better form to make future enhancements easier.

In htis patch, the logic to collect viable successors are
extrated as a helper to unclutter the caller which gets very
large recenty. Also cleaned up BP adjustment code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272482 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineBlockPlacement.cpp