[Bug tree-optimization/117379] Failure to vectorize multi add + mulit sub

2024-10-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117379 --- Comment #2 from Richard Biener --- We are correctly detecting the reduction chain in vect_slp_check_for_roots but currently reject mixed operation chains there: if (chain[i].code != code) {

[Bug tree-optimization/117379] Failure to vectorize multi add + mulit sub

2024-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117379 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Component|middle-end