[Bug tree-optimization/116711] Use simple_dce_from_worklist inside the vectorizer and remove the DCE after the vectorizer

2024-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116711 Andrew Pinski changed: What|Removed |Added Summary|Use |Use |simple_dce_from_

[Bug tree-optimization/116711] Use simple_dce_from_worklist inside the vectorizer

2024-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116711 --- Comment #3 from Andrew Pinski --- I got a bootstrap failure due to SLP not resetting the scev or freeing the iterations estimates cache. Reduced testcase: ``` void g(int); void f(int *a) { int n = a[0]++; int g1 = a[1]++; for(int i =

[Bug tree-optimization/116711] Use simple_dce_from_worklist inside the vectorizer

2024-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116711 --- Comment #2 from Andrew Pinski --- Created attachment 59124 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59124&action=edit Start of the patch Still need a full changelog. And need to boostrap/test with it. It has passed vect.exp thou

[Bug tree-optimization/116711] Use simple_dce_from_worklist inside the vectorizer

2024-09-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116711 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|