On Fri, Jan 17, 2025 at 9:50 AM Hongyu Wang <wwwhhhyyy...@gmail.com> wrote:
>
> Uros Bizjak <ubiz...@gmail.com> 于2025年1月17日周五 15:05写道:
>
> > Is there a reason to have operand 0 with "nonimmediate_operand"
> > predicate? If you have to generate a register temporary and then
> > unconditionally copy it to the output, it is better to use
> > "register_operand" predicate and leave middle end to do the copy for
> > you. Please see the patch at comment #3 in the PR.
>
> Ah, thanks for pointing that out, yes the memory dest is meaningless here.
>
> Updated patch in attachment.
>
> Ok for trunk after bootstrap & regtest?

Yes, LGTM.

Thanks,
Uros.

Reply via email to