diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2015-07-26 10:51:14 +0200 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2015-07-26 10:51:14 +0200 |
commit | e4e040f1a2914f075b9a7f7af04da78f721a7119 (patch) | |
tree | acf8f5a1eee830af34915d49453aea7d176096d6 /gcc/config/alpha/predicates.md | |
parent | 2446df2021fa63f52712e959dd6fe64cd9f35f0d (diff) | |
download | gcc-e4e040f1a2914f075b9a7f7af04da78f721a7119.tar.gz |
alpha.c: Use SUBREG_P predicate.
* config/alpha/alpha.c: Use SUBREG_P predicate.
* config/alpha/predicates.md: Ditto.
From-SVN: r226232
Diffstat (limited to 'gcc/config/alpha/predicates.md')
-rw-r--r-- | gcc/config/alpha/predicates.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/alpha/predicates.md b/gcc/config/alpha/predicates.md index 30a06457739..e24b3bde37f 100644 --- a/gcc/config/alpha/predicates.md +++ b/gcc/config/alpha/predicates.md @@ -134,7 +134,7 @@ (define_predicate "hard_fp_register_operand" (match_operand 0 "register_operand") { - if (GET_CODE (op) == SUBREG) + if (SUBREG_P (op)) op = SUBREG_REG (op); return REGNO_REG_CLASS (REGNO (op)) == FLOAT_REGS; }) @@ -143,7 +143,7 @@ (define_predicate "hard_int_register_operand" (match_operand 0 "register_operand") { - if (GET_CODE (op) == SUBREG) + if (SUBREG_P (op)) op = SUBREG_REG (op); return REGNO_REG_CLASS (REGNO (op)) == GENERAL_REGS; }) @@ -506,7 +506,7 @@ (define_special_predicate "any_memory_operand" (match_code "mem,reg,subreg") { - if (GET_CODE (op) == SUBREG) + if (SUBREG_P (op)) op = SUBREG_REG (op); if (MEM_P (op)) @@ -537,7 +537,7 @@ (define_predicate "reg_not_elim_operand" (match_operand 0 "register_operand") { - if (GET_CODE (op) == SUBREG) + if (SUBREG_P (op)) op = SUBREG_REG (op); return op != frame_pointer_rtx && op != arg_pointer_rtx; }) |