[Bug tree-optimization/34195] missed optimization with store motion (vectorizer)

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jul 7 11:46:47 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34195

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
We apply store-motion to the inner loop (if you disable unrolling with a pragma
or -fdisable-tree-cunrolli or by incrasing M).  We apply outer loop
vectorization with the inner loop not unrolled and loop vectorization when it
is unrolled.

So IMHO nothing left to fix here (whatever the exact desire was ;)).

I'll add a testcase.


More information about the Gcc-bugs mailing list