commit | dab7e2a71e4e4c40dbcfb9ff134f703ad87a018a | [log] [tgz] |
---|---|---|
author | Jessica Paquette <jpaquette@apple.com> | Tue Mar 27 22:23:48 2018 +0000 |
committer | Jessica Paquette <jpaquette@apple.com> | Wed Mar 28 10:26:47 2018 -0700 |
tree | 13bd4e48d2f65b434bee310cabec47b567f861cd | |
parent | 89c1d56d8c343d518be50cb0602e65d5fd1500d0 [diff] |
[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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@328674 91177308-0d34-0410-b5e6-96231b3b80d8 (cherry picked from commit 49dbb6edd824838dae26ce69e6284c1b9df6ea42)