Re: [PATCH] vect: Set pattern_stmt_p on the newly created stmt_vec_info

2024-09-15 Thread Richard Biener
> Am 16.09.2024 um 05:12 schrieb Andrew Pinski : > > While adding simple_dce_worklist to the vectorizer, there was a regression > due to the slp patterns would create a SSA name but never free it even if it > never existed in the IR (this case as addsub but complex ones had the same > issue).

[PATCH] vect: Set pattern_stmt_p on the newly created stmt_vec_info

2024-09-15 Thread Andrew Pinski
While adding simple_dce_worklist to the vectorizer, there was a regression due to the slp patterns would create a SSA name but never free it even if it never existed in the IR (this case as addsub but complex ones had the same issue). The reason why it was never freed was the stmt_vec_info was not