Re: [RFA][PR rtl-optimization/116136] Fix previously latent SUBREG simplification bug

2024-07-31 Thread Richard Biener
On Tue, Jul 30, 2024 at 10:24 PM Jeff Law wrote: > > > This fixes a testsuite regression seen on m68k after some of the recent > ext-dce changes. Ultimately Richard S and I have concluded the bug was > a latent issue in subreg simplification. > > Essentially when simplifying something like > > (s

[RFA][PR rtl-optimization/116136] Fix previously latent SUBREG simplification bug

2024-07-30 Thread Jeff Law
This fixes a testsuite regression seen on m68k after some of the recent ext-dce changes. Ultimately Richard S and I have concluded the bug was a latent issue in subreg simplification. Essentially when simplifying something like (set (target:M1) (subreg:M1 (subreg:M2 (reg:M1) 0) 0)) Where M