aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/aarch64/predicates.md
diff options
context:
space:
mode:
authorJiong Wang <jiong.wang@arm.com>2015-09-24 16:02:08 +0000
committerJiong Wang <jiwang@gcc.gnu.org>2015-09-24 16:02:08 +0000
commita6e0bfa7ca349b889d4a2c689984b63680ada211 (patch)
tree5cad58acb829398d3c1e3e4a00f39b609cc7c816 /gcc/config/aarch64/predicates.md
parent9bc5028273e55ced2622bb5aafa9a70cde7003b7 (diff)
downloadgcc-a6e0bfa7ca349b889d4a2c689984b63680ada211.zip
gcc-a6e0bfa7ca349b889d4a2c689984b63680ada211.tar.gz
gcc-a6e0bfa7ca349b889d4a2c689984b63680ada211.tar.bz2
[AArch64] Delete aarch64_symbol_context which is not used
2015-09-24 Jiong Wang <jiong.wang@arm.com> * config/aarch64/aarch64-protos.h (aarch64_symbol_context): Delete. * config/aarch64/aarch64.c (aarch64_expand_mov_immediate): Likewise. (aarch64_cannot_force_const_mem): Likewise. (aarch64_classify_address): Likewise. (aarch64_classify_symbolic_expression): Likewise. (aarch64_print_operand): Likewise. (aarch64_classify_symbol): Likewise. (aarch64_mov_operand_p): Likewise. * config/aarch64/predicates.md (aarch64_valid_symref): Likewise. (aarch64_mov_operand): Likewise. From-SVN: r228092
Diffstat (limited to 'gcc/config/aarch64/predicates.md')
-rw-r--r--gcc/config/aarch64/predicates.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/aarch64/predicates.md b/gcc/config/aarch64/predicates.md
index 7b852a4..7841378 100644
--- a/gcc/config/aarch64/predicates.md
+++ b/gcc/config/aarch64/predicates.md
@@ -165,7 +165,7 @@
(define_predicate "aarch64_valid_symref"
(match_code "const, symbol_ref, label_ref")
{
- return (aarch64_classify_symbolic_expression (op, SYMBOL_CONTEXT_ADR)
+ return (aarch64_classify_symbolic_expression (op)
!= SYMBOL_FORCE_TO_MEM);
})
@@ -215,7 +215,7 @@
(and (match_code "reg,subreg,mem,const,const_int,symbol_ref,label_ref,high")
(ior (match_operand 0 "register_operand")
(ior (match_operand 0 "memory_operand")
- (match_test "aarch64_mov_operand_p (op, SYMBOL_CONTEXT_ADR, mode)")))))
+ (match_test "aarch64_mov_operand_p (op, mode)")))))
(define_predicate "aarch64_movti_operand"
(and (match_code "reg,subreg,mem,const_int")