From: Michael Meissner Date: Wed, 11 Sep 2019 18:20:57 +0000 (+0000) Subject: Simplify the code. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=19e057e7cc47115ea89f5d222baaae41e0084f50;p=gcc.git Simplify the code. 2019-09-11 Michael Meissner * config/rs6000/predicates.md (non_add_cint_operand): Simplify the code. From-SVN: r275652 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 608f3b92600..7f7f6514c39 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-09-11 Michael Meissner + + * config/rs6000/predicates.md (non_add_cint_operand): Simplify the + code. + 2019-09-11 Nathan Sidwell * tree.h (MARK_TS_TYPE_NON_COMMON): New. diff --git a/gcc/config/rs6000/predicates.md b/gcc/config/rs6000/predicates.md index 4e77063249a..9368bdd5a8f 100644 --- a/gcc/config/rs6000/predicates.md +++ b/gcc/config/rs6000/predicates.md @@ -851,8 +851,7 @@ ;; Return 1 if OP is a constant but not a valid add_operand. (define_predicate "non_add_cint_operand" (and (match_code "const_int") - (match_test "!satisfies_constraint_I (op) - && !satisfies_constraint_L (op)"))) + (not (match_operand 0 "add_operand")))) ;; Return 1 if the operand is a constant that can be used as the operand ;; of an AND, OR or XOR.