Re: [x86 PATCH] PR target/106577: force_reg may clobber operands during split.

2022-08-16 Thread Richard Sandiford via Gcc-patches
Richard Biener writes: > On Tue, Aug 16, 2022 at 10:14 AM Richard Sandiford > wrote: >> >> Richard Biener via Gcc-patches writes: >> > On Fri, Aug 12, 2022 at 10:41 PM Roger Sayle >> > wrote: >> >> >> >> >> >> This patch fixes PR target/106577 which is a recent ICE on valid >> >> regression >

Re: [x86 PATCH] PR target/106577: force_reg may clobber operands during split.

2022-08-16 Thread Richard Biener via Gcc-patches
On Tue, Aug 16, 2022 at 10:14 AM Richard Sandiford wrote: > > Richard Biener via Gcc-patches writes: > > On Fri, Aug 12, 2022 at 10:41 PM Roger Sayle > > wrote: > >> > >> > >> This patch fixes PR target/106577 which is a recent ICE on valid regression > >> caused by my introduction of a *testti

Re: [x86 PATCH] PR target/106577: force_reg may clobber operands during split.

2022-08-16 Thread Richard Sandiford via Gcc-patches
Richard Biener via Gcc-patches writes: > On Fri, Aug 12, 2022 at 10:41 PM Roger Sayle > wrote: >> >> >> This patch fixes PR target/106577 which is a recent ICE on valid regression >> caused by my introduction of a *testti_doubleword pre-reload splitter in >> i386.md. During the split pass befor

Re: [x86 PATCH] PR target/106577: force_reg may clobber operands during split.

2022-08-15 Thread Richard Biener via Gcc-patches
On Fri, Aug 12, 2022 at 10:41 PM Roger Sayle wrote: > > > This patch fixes PR target/106577 which is a recent ICE on valid regression > caused by my introduction of a *testti_doubleword pre-reload splitter in > i386.md. During the split pass before reload, this converts the virtual > *testti_doub

[x86 PATCH] PR target/106577: force_reg may clobber operands during split.

2022-08-12 Thread Roger Sayle
This patch fixes PR target/106577 which is a recent ICE on valid regression caused by my introduction of a *testti_doubleword pre-reload splitter in i386.md. During the split pass before reload, this converts the virtual *testti_doubleword into an *andti3_doubleword and *cmpti_doubleword, checkin