[Bug rtl-optimization/97286] simplified subreg used outside of the loop can cause conflict and cause an extra move inside the loop
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 18 05:38:56 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97286
--- Comment #16 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Hongtao Liu from comment #15)
> (In reply to Andrew Pinski from comment #14)
> > SLSR is definitely the wrong place for this. This is more like an out of ssa.
> >
> > Also it needs to handle more than just VCEs, it needs to handle "nop" casts
> > too.
>
> Any testcase to show nop casts, here in the PR only VCEs create redundant
> moves.
Yes see PR 123070.
More information about the Gcc-bugs
mailing list