https://gcc.gnu.org/bugzilla/show_bug.cgi?id=129240

--- Comment #3 from Robin Dapp <rdapp at gcc dot gnu.org> ---
(In reply to Robin Dapp from comment #2)
> Confirmed, suspect it's a permute pattern.

Ah no, it's not...  vectorizable_recurr doesn't have SELECT_VL handling so
that's a vectorizer problem.  I really don't understand how anyone thought
vsetvl load balancing was a good idea :)  A short-term stopgap is to disable
SELECT_VL for vectorizable_recurr.  That would also be backportable. 
Longer-term it needs the same SELECT_VL treatment vectorizable_induction has.

Reply via email to