On 8/2/19 8:15 AM, Eric Botcazou wrote:
> Hi,
>
> an user reported that, for pairs of consecutive memory accesses, the SLSR
> pass
> can slightly pessimize the generated code at -O2 on the x86 architecture:
>
> struct x
> {
> int a[16];
> int b[16];
> };
>
> void
> set (struct x *p, unsigned
Hi,
an user reported that, for pairs of consecutive memory accesses, the SLSR pass
can slightly pessimize the generated code at -O2 on the x86 architecture:
struct x
{
int a[16];
int b[16];
};
void
set (struct x *p, unsigned int n, int i)
{
p->a[n] = i;
p->b[n] = i;
}
is compiled with