On Tue, May 5, 2020 at 10:30 AM Eric Botcazou wrote:
>
> Hi,
>
> the CONSTRUCTOR_NO_CLEARING flag was invented to avoid generating a memset for
> CONSTRUCTORS that lack elements, but it turns out that the gimplifier can
> generate a memcpy for them instead, which is even worse performance-wise, so
Hi,
the CONSTRUCTOR_NO_CLEARING flag was invented to avoid generating a memset for
CONSTRUCTORS that lack elements, but it turns out that the gimplifier can
generate a memcpy for them instead, which is even worse performance-wise, so
this prevents it from doing that for them.
Tested on x86-64/