Re: Insn combine trying (ior:HI (clobber:HI (const_int 0)))

2024-07-16 Thread Jeff Law via Gcc
On 7/16/24 4:29 AM, Georg-Johann Lay wrote: Am 15.07.24 um 19:53 schrieb Richard Sandiford: Georg-Johann Lay writes: In a test case I see insn combine trying to match such expressions, which do not make any sense to me, like: Trying 2 -> 7:   2: r45:HI=r48:HI     REG_DEAD r48:HI

Re: Insn combine trying (ior:HI (clobber:HI (const_int 0)))

2024-07-16 Thread Georg-Johann Lay
Am 15.07.24 um 19:53 schrieb Richard Sandiford: Georg-Johann Lay writes: In a test case I see insn combine trying to match such expressions, which do not make any sense to me, like: Trying 2 -> 7: 2: r45:HI=r48:HI REG_DEAD r48:HI 7: {r47:HI=r45:HI|r46:PSI#0;clobber scrat

Re: Insn combine trying (ior:HI (clobber:HI (const_int 0)))

2024-07-15 Thread Richard Sandiford via Gcc
Georg-Johann Lay writes: > In a test case I see insn combine trying to match such > expressions, which do not make any sense to me, like: > > Trying 2 -> 7: > 2: r45:HI=r48:HI >REG_DEAD r48:HI > 7: {r47:HI=r45:HI|r46:PSI#0;clobber scratch;} >REG_DEAD r46:PSI >REG_