[MachineOutliner][NFC] Move missed opt remark into its own function
authorJessica Paquette <jpaquette@apple.com>
Tue, 24 Jul 2018 17:37:28 +0000 (17:37 +0000)
committerJessica Paquette <jpaquette@apple.com>
Tue, 24 Jul 2018 17:37:28 +0000 (17:37 +0000)
commit1cc52a00792d206d4999f2c530cc8994ab0b9e65
tree156fcc4939269c5f626a1d63540439c347d9e20f
parentf94d1d29c1eab9ac1afba8a6e2200a990fafa232
[MachineOutliner][NFC] Move missed opt remark into its own function

Having the missed remark code in the middle of `findCandidates` made the
function hard to follow. This yanks that out into a new function,
`emitNotOutliningCheaperRemark`.

llvm-svn: 337839
llvm/lib/CodeGen/MachineOutliner.cpp