diff options
author | Matthew Wahab <matthew.wahab@arm.com> | 2015-01-16 13:11:53 +0000 |
---|---|---|
committer | Jiong Wang <jiwang@gcc.gnu.org> | 2015-01-16 13:11:53 +0000 |
commit | 98d404be7e9f3ae1a297e3a437e3aa0350de8f22 (patch) | |
tree | 87f120f77ff5b2faedb82e1d2c8deff3f0bc4887 /gcc | |
parent | 06201ad5be6f9e6403e6ad9a00f4a9d342b82d36 (diff) | |
download | gcc-98d404be7e9f3ae1a297e3a437e3aa0350de8f22.zip gcc-98d404be7e9f3ae1a297e3a437e3aa0350de8f22.tar.gz gcc-98d404be7e9f3ae1a297e3a437e3aa0350de8f22.tar.bz2 |
[AArch64] Remove -mlra/-mno-lra option for Aarch64
2015-01-16 Matthew Wahab <matthew.wahab@arm.com>
gcc/
PR target/64149
* config/aarch64/aarch64.opt: Remove lra option and aarch64_lra_flag
variable.
* config/aarch64/aarch64.c (TARGET_LRA_P): Set to hook_bool_void_true.
(aarch64_lra_p): Remove.
From-SVN: r219734
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/config/aarch64/aarch64.c | 10 | ||||
-rw-r--r-- | gcc/config/aarch64/aarch64.opt | 4 |
3 files changed, 9 insertions, 13 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 62871b5..efab157 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2015-01-16 Matthew Wahab <matthew.wahab@arm.com> + + PR target/64149 + * config/aarch64/aarch64.opt: Remove lra option and aarch64_lra_flag + variable. + * config/aarch64/aarch64.c (TARGET_LRA_P): Set to hook_bool_void_true. + (aarch64_lra_p): Remove. + 2015-01-16 Ilya Enkovich <ilya.enkovich@intel.com> PR target/64363 diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c index f3cf6ed..fdb0116 100644 --- a/gcc/config/aarch64/aarch64.c +++ b/gcc/config/aarch64/aarch64.c @@ -156,7 +156,6 @@ enum aarch64_code_model aarch64_cmodel; #define TARGET_HAVE_TLS 1 #endif -static bool aarch64_lra_p (void); static bool aarch64_composite_type_p (const_tree, machine_mode); static bool aarch64_vfp_is_call_or_return_candidate (machine_mode, const_tree, @@ -7810,13 +7809,6 @@ aapcs_vfp_sub_candidate (const_tree type, machine_mode *modep) return -1; } -/* Return true if we use LRA instead of reload pass. */ -static bool -aarch64_lra_p (void) -{ - return aarch64_lra_flag; -} - /* Return TRUE if the type, as described by TYPE and MODE, is a composite type as described in AAPCS64 \S 4.3. This includes aggregate, union and array types. The C99 floating-point complex types are also considered @@ -11332,7 +11324,7 @@ aarch64_gen_adjusted_ldpstp (rtx *operands, bool load, #define TARGET_LIBGCC_CMP_RETURN_MODE aarch64_libgcc_cmp_return_mode #undef TARGET_LRA_P -#define TARGET_LRA_P aarch64_lra_p +#define TARGET_LRA_P hook_bool_void_true #undef TARGET_MANGLE_TYPE #define TARGET_MANGLE_TYPE aarch64_mangle_type diff --git a/gcc/config/aarch64/aarch64.opt b/gcc/config/aarch64/aarch64.opt index 44c6350..f2ef124 100644 --- a/gcc/config/aarch64/aarch64.opt +++ b/gcc/config/aarch64/aarch64.opt @@ -107,10 +107,6 @@ mabi= Target RejectNegative Joined Enum(aarch64_abi) Var(aarch64_abi) Init(AARCH64_ABI_DEFAULT) -mabi=ABI Generate code that conforms to the specified ABI -mlra -Target Report Var(aarch64_lra_flag) Init(1) Save -Use LRA instead of reload (transitional) - Enum Name(aarch64_abi) Type(int) Known AArch64 ABIs (for use with the -mabi= option): |