[Bug tree-optimization/98908] Failure to optimize arithmetic involving struct members into operating on the entire struct

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 2 07:58:32 GMT 2021


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |53947
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2021-02-02
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
The vectorizer would do this if there's a V2QImode or generic vect would be
enabled for sth not just word_mode size.  For SLP vectorization it should be
easy to restrict the search space (aka choose a prefered SIMD mode).


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947
[Bug 53947] [meta-bug] vectorizer missed-optimizations


More information about the Gcc-bugs mailing list