Simplify the code.

2019-09-11  Michael Meissner  <meissner@linux.ibm.com>

	* config/rs6000/predicates.md (non_add_cint_operand): Simplify the
	code.

From-SVN: r275652
This commit is contained in:
Michael Meissner 2019-09-11 18:20:57 +00:00 committed by Michael Meissner
parent a387d636cd
commit 19e057e7cc
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2019-09-11 Michael Meissner <meissner@linux.ibm.com>
* config/rs6000/predicates.md (non_add_cint_operand): Simplify the
code.
2019-09-11 Nathan Sidwell <nathan@acm.org>
* tree.h (MARK_TS_TYPE_NON_COMMON): New.

View file

@ -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.