[Bug tree-optimization/84362] [7/8/9 Regression] Auto-vectorization regression when accessing member variable through getter/accessor

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Dec 18 15:56:00 GMT 2018


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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The MEM_REF is in there because we first create a _ZNK3vec4sizeEv.isra.0 clone
which takes unsigned int argument and just passes it through.
So, does LIM need to fold the MEM_EXPRs in a similar way to how PRE folds them
to figure out it is the same thing as v.size?


More information about the Gcc-bugs mailing list