[Bug tree-optimization/94834] Failure to optimize loop bswap pattern
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
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
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.