Re: [PATCH] vect: Look through pattern stmt in fold_left_reduction.

2023-11-10 Thread Richard Biener
On Fri, Nov 10, 2023 at 10:06 AM Robin Dapp wrote: > > Hi, > > more fallout from the COND_OP change was shown in PR112464. > > It appears as if we "look through" a statement pattern in > vect_finish_replace_stmt but not before when we replace the newly > created vector statement's lhs. Then the l

[PATCH] vect: Look through pattern stmt in fold_left_reduction.

2023-11-10 Thread Robin Dapp
Hi, more fallout from the COND_OP change was shown in PR112464. It appears as if we "look through" a statement pattern in vect_finish_replace_stmt but not before when we replace the newly created vector statement's lhs. Then the lhs is the statement pattern's lhs while in vect_finish_replace_stm