Re: A questionable predicate in sh/predicates.md

2006-01-09 Thread Joern RENNECKE
Kazu Hirata wrote: Notice that match_code at the beginning does not mention PARALLEL, but we have GET_CODE (op) != PARALLEL later. Is this predicate intended to accept PARALLEL as well? Yes, it is. If so, should we change the match_code at the beginning? Yes.

A questionable predicate in sh/predicates.md

2006-01-08 Thread Kazu Hirata
Hi, In sh/predicates.md, I see (define_predicate "sh_rep_vec" (match_code "const_vector") { int i; rtx x, y; if ((GET_CODE (op) != CONST_VECTOR && GET_CODE (op) != PARALLEL) || (GET_MODE (op) != mode && mode != VOIDmode)) return 0; Notice that match_code at the beginning does