Re: [PATCH GCC]Improve tree ifconv by handling virtual PHIs which can be degenerated.

2016-04-26 Thread Richard Biener
On Mon, Apr 25, 2016 at 6:44 PM, Bin.Cheng wrote: > On Fri, Apr 22, 2016 at 11:47 AM, Richard Biener > wrote: >> On Fri, Apr 22, 2016 at 12:33 PM, Bin.Cheng wrote: >>> On Fri, Apr 22, 2016 at 11:25 AM, Richard Biener >>> wrote: On Fri, Apr 22, 2016 at 12:07 PM, Bin Cheng wrote: > Hi,

Re: [PATCH GCC]Improve tree ifconv by handling virtual PHIs which can be degenerated.

2016-04-25 Thread Bin.Cheng
On Fri, Apr 22, 2016 at 11:47 AM, Richard Biener wrote: > On Fri, Apr 22, 2016 at 12:33 PM, Bin.Cheng wrote: >> On Fri, Apr 22, 2016 at 11:25 AM, Richard Biener >> wrote: >>> On Fri, Apr 22, 2016 at 12:07 PM, Bin Cheng wrote: Hi, Tree if-conv has below code checking on virtual PHI nod

Re: [PATCH GCC]Improve tree ifconv by handling virtual PHIs which can be degenerated.

2016-04-22 Thread Richard Biener
On Fri, Apr 22, 2016 at 12:33 PM, Bin.Cheng wrote: > On Fri, Apr 22, 2016 at 11:25 AM, Richard Biener > wrote: >> On Fri, Apr 22, 2016 at 12:07 PM, Bin Cheng wrote: >>> Hi, >>> Tree if-conv has below code checking on virtual PHI nodes in >>> if_convertible__phi_p: >>> >>> if (any_mask_load_st

Re: [PATCH GCC]Improve tree ifconv by handling virtual PHIs which can be degenerated.

2016-04-22 Thread Bin.Cheng
On Fri, Apr 22, 2016 at 11:25 AM, Richard Biener wrote: > On Fri, Apr 22, 2016 at 12:07 PM, Bin Cheng wrote: >> Hi, >> Tree if-conv has below code checking on virtual PHI nodes in >> if_convertible__phi_p: >> >> if (any_mask_load_store) >> return true; >> >> /* When there were no if-conv

Re: [PATCH GCC]Improve tree ifconv by handling virtual PHIs which can be degenerated.

2016-04-22 Thread Richard Biener
On Fri, Apr 22, 2016 at 12:07 PM, Bin Cheng wrote: > Hi, > Tree if-conv has below code checking on virtual PHI nodes in > if_convertible__phi_p: > > if (any_mask_load_store) > return true; > > /* When there were no if-convertible stores, check > that there are no memory writes in the

[PATCH GCC]Improve tree ifconv by handling virtual PHIs which can be degenerated.

2016-04-22 Thread Bin Cheng
Hi, Tree if-conv has below code checking on virtual PHI nodes in if_convertible__phi_p: if (any_mask_load_store) return true; /* When there were no if-convertible stores, check that there are no memory writes in the branches of the loop to be if-converted. */ if (virtual_ope