diff --git a/gcc/config/rs6000/predicates.md b/gcc/config/rs6000/predicates.md index 2e13a7ea8e7..345d9c337af 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.