Re: [PATCH 2/2] reset edge probibility and BB-count for peeled/unrolled loop

2020-12-01 Thread Jeff Law via Gcc-patches
On 10/9/20 4:12 AM, guojiufu via Gcc-patches wrote: > Hi, > PR68212 mentioned that the COUNT of unrolled loop was not correct, and > comments of this PR also mentioned that loop become 'cold'. > > This patch fixes the wrong COUNT/PROB of unrolled loop. And the > patch handles the case where unr

Re: [PATCH 2/2] reset edge probibility and BB-count for peeled/unrolled loop

2020-11-11 Thread Jiufu Guo via Gcc-patches
guojiufu writes: Hi Honza, all, Just want to ping this for review. Original messages: [PATCH 2/2] https://gcc.gnu.org/pipermail/gcc-patches/2020-October/555872.html [PATCH 1/2] https://gcc.gnu.org/pipermail/gcc-patches/2020-October/555871.html Thanks, Jiufu Guo. > Hi, > PR68212 mentioned that

[PATCH 2/2] reset edge probibility and BB-count for peeled/unrolled loop

2020-10-09 Thread guojiufu via Gcc-patches
Hi, PR68212 mentioned that the COUNT of unrolled loop was not correct, and comments of this PR also mentioned that loop become 'cold'. This patch fixes the wrong COUNT/PROB of unrolled loop. And the patch handles the case where unrolling in unreliable count number can cause a loop to no longer lo