[Bug tree-optimization/94834] Failure to optimize loop bswap pattern

2021-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94834

Andrew Pinski  changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 Status|NEW |RESOLVED

--- Comment #3 from Andrew Pinski  ---
This is a dup of bug 89811.

*** This bug has been marked as a duplicate of bug 89811 ***

[Bug tree-optimization/94834] Failure to optimize loop bswap pattern

2020-04-29 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94834

--- Comment #2 from Gabriel Ravier  ---
Now I wonder why the unrolling happens too late since there was 1 ecp check
that should happen after the unrolling, from my understanding. Are the multiple
ecp passes detecting different things?

[Bug tree-optimization/94834] Failure to optimize loop bswap pattern

2020-04-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94834

Richard Biener  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Keywords||missed-optimization
   Last reconfirmed||2020-04-29
 Ever confirmed|0   |1

--- Comment #1 from Richard Biener  ---
Confirmed.  We have a pass that would grok the unrolled form but unrolling
happens too late (if at all) for it to trigger.  Not sure if we should
try to pattern-match this (or other reductions) in loop distribution.