[Bug tree-optimization/94442] [10 regression] Redundant loads/stores emitted at -O3

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Apr 30 07:22:24 GMT 2020


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |10.0

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
So I wonder why

  a$vect_s8$0_4 = MEM[(const struct __m256i &)output_5(D) + 32].vect_s8[0];  

necessarily emits two RTL insns.  It's likely because get_inner_reference
will not see through MEM[output_5(D) + 32] but records an extra offset
from the component-ref which we fail to fold into the MEM generated by
expansion of the MEM base.


More information about the Gcc-bugs mailing list