HomePhabricator

[CodeGen] Basic block sections should take precendence over splitting.

Authored by snehasish on Feb 9 2021, 7:14 PM.

Description

[CodeGen] Basic block sections should take precendence over splitting.

The use of basic block sections should take precedence over the machine
function splitting pass. Since they use the same underlying mechanism
they are kept exclusive. Updated the tests to check that split machine
functions is overridden by all flavours of basic block sections.

Differential Revision: https://reviews.llvm.org/D96392

Details