[AArch64][1/3] Migrate aarch64_add_constant to new interface & kill aarch64_build_con...
authorJiong Wang <jiong.wang@arm.com>
Mon, 25 Jul 2016 13:31:44 +0000 (13:31 +0000)
committerJiong Wang <jiwang@gcc.gnu.org>
Mon, 25 Jul 2016 13:31:44 +0000 (13:31 +0000)
commitf43657b49fa8836b0bc621e61ff2c113c7dc2a0e
tree135369097b85f370b381fb571406c35476f36058
parenta837417c79ae71cdc8a19c3f2d44317d8d39c32c
[AArch64][1/3] Migrate aarch64_add_constant to new interface & kill aarch64_build_constant

gcc/
* config/aarch64/aarch64.c (aarch64_add_constant): New parameter "mode".
Use aarch64_internal_mov_immediate instead of aarch64_build_constant.
(aarch64_output_mi_thunk): Pass Pmode when calling aarch64_add_constant.
(aarch64_build_constant): Delete.

From-SVN: r238712
gcc/ChangeLog
gcc/config/aarch64/aarch64.c