diff options
author | Jessica Paquette <jpaquette@apple.com> | 2018-03-27 22:23:48 +0000 |
---|---|---|
committer | Jessica Paquette <jpaquette@apple.com> | 2018-03-27 22:23:48 +0000 |
commit | 2519ee70810c561ce40e5e4e57a9c083d30faf67 (patch) | |
tree | 9b3715aeb7604695322e458d0f5a1251ad511df0 /llvm/test/CodeGen/Generic | |
parent | e4208bfa5b2d78541eeb08459caa11e850af201a (diff) | |
download | bcm5719-llvm-2519ee70810c561ce40e5e4e57a9c083d30faf67.tar.gz bcm5719-llvm-2519ee70810c561ce40e5e4e57a9c083d30faf67.zip |
[MachineOutliner] AArch64: Don't outline ADRPs with un-outlinable operands
If an ADRP appears with, say, a CPI operand, we shouldn't outline it.
This moves the check for unsafe operands so that it occurs before the special-case
for ADRPs. Also add a test for outlining ADRPs.
llvm-svn: 328674
Diffstat (limited to 'llvm/test/CodeGen/Generic')
0 files changed, 0 insertions, 0 deletions