[ARM] Refactor MOVW/MOVT fusion logic to allow extension
commit61d9bb1b955f39f35c28751c766140b27a88f959
authorktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 26 Aug 2016 10:22:08 +0000 (26 10:22 +0000)
committerktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 26 Aug 2016 10:22:08 +0000 (26 10:22 +0000)
tree7a517b2ff4d5f706203ba4354eb725581b88fe53
parenta54071b275d13d8516e0cb305fb5cb49da201f14
[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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@239771 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/arm/arm.c