amdgcn: Disallow TImode vector permute
We don't support it and it doesn't happen without vector extensions, so just remove the unhandled case. Fixes gcc.dg/pr78575.c failure. gcc/ChangeLog: * config/gcn/gcn.cc (gcn_vectorize_vec_perm_const): Disallow TImode.
This commit is contained in:
parent
965d232799
commit
e7d3414dff
1 changed files with 3 additions and 1 deletions
|
@ -5050,7 +5050,9 @@ gcn_vectorize_vec_perm_const (machine_mode vmode, machine_mode op_mode,
|
|||
rtx dst, rtx src0, rtx src1,
|
||||
const vec_perm_indices & sel)
|
||||
{
|
||||
if (vmode != op_mode)
|
||||
if (vmode != op_mode
|
||||
|| !VECTOR_MODE_P (vmode)
|
||||
|| GET_MODE_INNER (vmode) == TImode)
|
||||
return false;
|
||||
|
||||
unsigned int nelt = GET_MODE_NUNITS (vmode);
|
||||
|
|
Loading…
Add table
Reference in a new issue