Re: [PATCH] vect: Avoid divide by zero for permutes of extern VLA vectors

2024-10-10 Thread Richard Biener
On Thu, 10 Oct 2024, Richard Sandiford wrote: > My recent VLA SLP patches caused a regression with cross compilers > in gcc.dg/torture/neon-sve-bridge.c. There we have a VEC_PERM_EXPR > created from two BIT_FIELD_REFs, with the child node being an > external VLA vector: > > note: node 0x3704a7

[PATCH] vect: Avoid divide by zero for permutes of extern VLA vectors

2024-10-10 Thread Richard Sandiford
My recent VLA SLP patches caused a regression with cross compilers in gcc.dg/torture/neon-sve-bridge.c. There we have a VEC_PERM_EXPR created from two BIT_FIELD_REFs, with the child node being an external VLA vector: note: node 0x3704a70 (max_nunits=1, refcnt=2) vector(2) long int note: op: V