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