Re: [PATCH] Update the type of control.base after changed

2022-01-24 Thread Jiufu Guo via Gcc-patches
Richard Biener writes: > On Fri, 21 Jan 2022, Jiufu Guo wrote: > >> Hi, >> >> This patch correct the type of niter->control.base, when it is updated >> as a PLUS expr. >> During build PLUS expr, the result type should align with the type of >> the operands. >> >> Bootstrap and regtest pass on p

Re: [PATCH] Update the type of control.base after changed

2022-01-21 Thread Richard Biener via Gcc-patches
On Fri, 21 Jan 2022, Jiufu Guo wrote: > Hi, > > This patch correct the type of niter->control.base, when it is updated > as a PLUS expr. > During build PLUS expr, the result type should align with the type of > the operands. > > Bootstrap and regtest pass on ppc64/ppc64le and x86. > Is this ok f

[PATCH] Update the type of control.base after changed

2022-01-21 Thread Jiufu Guo via Gcc-patches
Hi, This patch correct the type of niter->control.base, when it is updated as a PLUS expr. During build PLUS expr, the result type should align with the type of the operands. Bootstrap and regtest pass on ppc64/ppc64le and x86. Is this ok for trunk? BR, Jiufu PR tree-optimization/10208