Re: [PATCH] Clean up loop-closed PHIs at loopdone pass

2020-11-06 Thread Richard Biener
On Fri, 6 Nov 2020, Jiufu Guo wrote: > On 2020-11-05 21:43, Richard Biener wrote: > > Hi Richard, > > Thanks for your comments and suggestions! > > > On Thu, Nov 5, 2020 at 2:19 PM guojiufu via Gcc-patches > > wrote: > >> > >> In PR87473, there are discussions about loop-closed PHIs which > >

Re: [PATCH] Clean up loop-closed PHIs at loopdone pass

2020-11-05 Thread Jiufu Guo via Gcc-patches
On 2020-11-05 21:43, Richard Biener wrote: Hi Richard, Thanks for your comments and suggestions! On Thu, Nov 5, 2020 at 2:19 PM guojiufu via Gcc-patches wrote: In PR87473, there are discussions about loop-closed PHIs which are generated for loop optimization passes. It would be helpful to

Re: [PATCH] Clean up loop-closed PHIs at loopdone pass

2020-11-05 Thread Richard Biener via Gcc-patches
On Thu, Nov 5, 2020 at 2:19 PM guojiufu via Gcc-patches wrote: > > In PR87473, there are discussions about loop-closed PHIs which > are generated for loop optimization passes. It would be helpful > to clean them up after loop optimization is done, then this may > simplify some jobs of following p

[PATCH] Clean up loop-closed PHIs at loopdone pass

2020-11-05 Thread guojiufu via Gcc-patches
In PR87473, there are discussions about loop-closed PHIs which are generated for loop optimization passes. It would be helpful to clean them up after loop optimization is done, then this may simplify some jobs of following passes. This patch introduces a cheaper way to propagate them out in pass_t