[ARM] Refactor MOVW/MOVT fusion logic to allow extension
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Fri, 26 Aug 2016 10:22:08 +0000 (10:22 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Fri, 26 Aug 2016 10:22:08 +0000 (10:22 +0000)
commit5791f55d02239dc7172884f9d5143632b8ca602d
tree7a517b2ff4d5f706203ba4354eb725581b88fe53
parent209ca542cadd7ae7dc174bc74e066ed1de246672
[ARM] Refactor MOVW/MOVT fusion logic to allow extension

* config/arm/arm.c (arm_sets_movw_movt_fusible_p): New function.
(aarch_macro_fusion_pair_p): Use above to avoid early return.

From-SVN: r239771
gcc/ChangeLog
gcc/config/arm/arm.c