[Bug tree-optimization/115813] missing constant evaluation for vectors

2024-07-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115813 --- Comment #3 from Andrew Pinski --- (In reply to Andi Kleen from comment #2) > Is that the right pattern for the example? It looks different Yes I am positive it is the right one. I double checked even GCC 14.1.0 and 13.3.0. > > Enabling mat

[Bug tree-optimization/115813] missing constant evaluation for vectors

2024-07-06 Thread andi-gcc at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115813 --- Comment #2 from Andi Kleen --- Is that the right pattern for the example? It looks different Enabling match.pd debugging for the scalar version shows: taddbit.c.034t.ccp1:Applying pattern match.pd:3960, gimple-match.cc:18437 taddbit.c.034t

[Bug tree-optimization/115813] missing constant evaluation for vectors

2024-07-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115813 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug tree-optimization/115813] missing constant evaluation for vectors

2024-07-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115813 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Severity|