commit | 757e12037954abf78cbf25465494a651791f741e | [log] [tgz] |
---|---|---|
author | Jessica Paquette <[email protected]> | Sat Jan 13 00:42:28 2018 |
committer | Jessica Paquette <[email protected]> | Sat Jan 13 00:42:28 2018 |
tree | 1620a7f300dde6fed17e4a3a6b3ce3d5dcf138ca | |
parent | 5bbba4875204e718418b75137e0cdd602eefdd41 [diff] |
[MachineOutliner] Move hasAddressTaken check to MachineOutliner.cpp *Mostly* NFC. Still updating the test though just for completeness. This moves the hasAddressTaken check to MachineOutliner.cpp and replaces it with a per-basic block test rather than a per-function test. The old test was too conservative and was preventing functions in C programs from being outlined even though they were safe to outline. This was mostly a problem in C sources. llvm-svn: 322425