Hi,
On Mon, 26 Oct 2020 at 13:44, Richard Sandiford via Gcc-patches
wrote:
>
> Tamar Christina writes:
> > Hi Richard,
> >
> > The 10/26/2020 11:29, Richard Sandiford wrote:
> >> Tamar Christina writes:
> >> >/* We can't do anything smart if the amount to copy is not constant.
> >> > */
>
Tamar Christina writes:
> Hi Richard,
>
> The 10/26/2020 11:29, Richard Sandiford wrote:
>> Tamar Christina writes:
>> >/* We can't do anything smart if the amount to copy is not constant. */
>> >if (!CONST_INT_P (operands[2]))
>> > return false;
>> >
>> > - n = INTVAL (operands[2
Hi Richard,
The 10/26/2020 11:29, Richard Sandiford wrote:
> Tamar Christina writes:
> >/* We can't do anything smart if the amount to copy is not constant. */
> >if (!CONST_INT_P (operands[2]))
> > return false;
> >
> > - n = INTVAL (operands[2]);
> > + /* This may get truncated
Tamar Christina writes:
>/* We can't do anything smart if the amount to copy is not constant. */
>if (!CONST_INT_P (operands[2]))
> return false;
>
> - n = INTVAL (operands[2]);
> + /* This may get truncated but that's fine as it would be above our maximum
> + memset inline li