Re: [PATCH V4] A jump threading opportunity for condition branch

2019-06-14 Thread Jeff Law
On 6/14/19 6:51 AM, Jiufu Guo wrote: > Jeff Law writes: > >> On 6/3/19 11:28 PM, Jiufu Guo wrote: >>> >>> Hi, >>> >>> This patch implements a new opportunity of jump threading for PR77820. >>> In this optimization, conditional jumps are merged with unconditional >>> jump. And then moving CMP resu

Re: [PATCH V4] A jump threading opportunity for condition branch

2019-06-14 Thread Jiufu Guo
Jeff Law writes: > On 6/3/19 11:28 PM, Jiufu Guo wrote: >> >> Hi, >> >> This patch implements a new opportunity of jump threading for PR77820. >> In this optimization, conditional jumps are merged with unconditional >> jump. And then moving CMP result to GPR is eliminated. >> >> This version i

Re: [PATCH V4] A jump threading opportunity for condition branch

2019-06-13 Thread Jeff Law
On 6/3/19 11:28 PM, Jiufu Guo wrote: > > Hi, > > This patch implements a new opportunity of jump threading for PR77820. > In this optimization, conditional jumps are merged with unconditional > jump. And then moving CMP result to GPR is eliminated. > > This version is based on the proposal of Ri

[PATCH V4] A jump threading opportunity for condition branch

2019-06-03 Thread Jiufu Guo
Hi, This patch implements a new opportunity of jump threading for PR77820. In this optimization, conditional jumps are merged with unconditional jump. And then moving CMP result to GPR is eliminated. This version is based on the proposal of Richard, Jeff and Andrew on previous versions, and ref