[MachineOuliner][NFC] Refactoring code to make outline rerunning a cleaner diff.
authorPuyan Lotfi <puyan@puyan.org>
Mon, 28 Oct 2019 19:10:21 +0000 (15:10 -0400)
committerPuyan Lotfi <puyan@puyan.org>
Mon, 28 Oct 2019 19:13:45 +0000 (15:13 -0400)
commita51fc8ddf8800ed2f28d1e18b995e6c42f0bd3af
tree91c01ac40e731a867e89ed955bb88ca4de4cea68
parente3a45a24d1077e2afc917024032715afa70fb2ac
[MachineOuliner][NFC] Refactoring code to make outline rerunning a cleaner diff.

I want to add the ability to rerun the outliner in certain cases, and I
thought this could be an NFC change that could make a subsequent change
that allows for rerunning the outliner a cleaner diff.

Differential Revision: https://reviews.llvm.org/D69482
llvm/lib/CodeGen/MachineOutliner.cpp