Re: [PATCH] combine: zeroing cost for new copies

2021-01-18 Thread Kewen.Lin via Gcc-patches
Hi Segher, on 2021/1/15 下午2:49, Kewen.Lin via Gcc-patches wrote: > on 2021/1/15 上午4:43, Segher Boessenkool wrote: [snip...] >> Long ago I had the following patch for this. Not sure why I never >> submitted it, maybe there is something wronmg with it? >> > > If you don't mind, I'll do a check w

Re: [PATCH] combine: zeroing cost for new copies

2021-01-14 Thread Kewen.Lin via Gcc-patches
Hi Segher, Thanks for the comments! on 2021/1/15 上午4:43, Segher Boessenkool wrote: > Hi! > > On Wed, Dec 09, 2020 at 05:49:53PM +0800, Kewen.Lin wrote: >> This patch is to treat those new pseudo-to-pseudo copies >> after hard-reg-to-pseudo-copy as zero costs. The >> justification is that these

Re: [PATCH] combine: zeroing cost for new copies

2021-01-14 Thread Segher Boessenkool
Hi! On Wed, Dec 09, 2020 at 05:49:53PM +0800, Kewen.Lin wrote: > This patch is to treat those new pseudo-to-pseudo copies > after hard-reg-to-pseudo-copy as zero costs. The > justification is that these new copies are closely after > the corresponding hard-reg-to-pseudo-copy insns, register > all