Re: [PATCH PR81832]Skip copying loop header if inner loop is distributed

2017-08-16 Thread Richard Biener
On Wed, Aug 16, 2017 at 11:22 AM, Bin.Cheng wrote: > On Tue, Aug 15, 2017 at 6:33 PM, Richard Sandiford > wrote: >> Richard Biener writes: >>> On Tue, Aug 15, 2017 at 11:28 AM, Bin Cheng wrote: Hi, This patch fixes PR81832. Root cause for the ICE is: 1) Loop has distributed in

Re: [PATCH PR81832]Skip copying loop header if inner loop is distributed

2017-08-16 Thread Bin.Cheng
On Wed, Aug 16, 2017 at 10:31 AM, Richard Sandiford wrote: > "Bin.Cheng" writes: >> On Tue, Aug 15, 2017 at 6:33 PM, Richard Sandiford >> wrote: >>> Richard Biener writes: On Tue, Aug 15, 2017 at 11:28 AM, Bin Cheng wrote: > Hi, > This patch fixes PR81832. Root cause for the ICE

Re: [PATCH PR81832]Skip copying loop header if inner loop is distributed

2017-08-16 Thread Richard Sandiford
"Bin.Cheng" writes: > On Tue, Aug 15, 2017 at 6:33 PM, Richard Sandiford > wrote: >> Richard Biener writes: >>> On Tue, Aug 15, 2017 at 11:28 AM, Bin Cheng wrote: Hi, This patch fixes PR81832. Root cause for the ICE is: 1) Loop has distributed inner loop. 2) The guardin

Re: [PATCH PR81832]Skip copying loop header if inner loop is distributed

2017-08-16 Thread Bin.Cheng
On Tue, Aug 15, 2017 at 6:33 PM, Richard Sandiford wrote: > Richard Biener writes: >> On Tue, Aug 15, 2017 at 11:28 AM, Bin Cheng wrote: >>> Hi, >>> This patch fixes PR81832. Root cause for the ICE is: >>> 1) Loop has distributed inner loop. >>> 2) The guarding function call IFN_LOOP_DIST_C

Re: [PATCH PR81832]Skip copying loop header if inner loop is distributed

2017-08-15 Thread Richard Sandiford
Richard Biener writes: > On Tue, Aug 15, 2017 at 11:28 AM, Bin Cheng wrote: >> Hi, >> This patch fixes PR81832. Root cause for the ICE is: >> 1) Loop has distributed inner loop. >> 2) The guarding function call IFN_LOOP_DIST_CALL happens to be in loop's >> header. >> 3) IFN_LOOP_DIST_CALL

Re: [PATCH PR81832]Skip copying loop header if inner loop is distributed

2017-08-15 Thread Richard Biener
On Tue, Aug 15, 2017 at 11:28 AM, Bin Cheng wrote: > Hi, > This patch fixes PR81832. Root cause for the ICE is: > 1) Loop has distributed inner loop. > 2) The guarding function call IFN_LOOP_DIST_CALL happens to be in loop's > header. > 3) IFN_LOOP_DIST_CALL (int loop's header) is duplicat

[PATCH PR81832]Skip copying loop header if inner loop is distributed

2017-08-15 Thread Bin Cheng
Hi, This patch fixes PR81832. Root cause for the ICE is: 1) Loop has distributed inner loop. 2) The guarding function call IFN_LOOP_DIST_CALL happens to be in loop's header. 3) IFN_LOOP_DIST_CALL (int loop's header) is duplicated by pass_ch_vect thus not eliminated. Given pass_ch_vect