Re: [PATCH][RFC] PR middle-end/22141 GIMPLE store widening pass

2016-08-04 Thread Richard Biener
On Wed, Aug 3, 2016 at 5:15 PM, Kyrill Tkachov wrote: > Hi Richard, > > On 18/07/16 13:22, Richard Biener wrote: >> >> On Fri, Jul 15, 2016 at 5:13 PM, Kyrill Tkachov >> wrote: > > > > > >> + /* Record the original statements so that we can keep track of >> +statements emitted in th

Re: [PATCH][RFC] PR middle-end/22141 GIMPLE store widening pass

2016-08-03 Thread Kyrill Tkachov
Hi Richard, On 18/07/16 13:22, Richard Biener wrote: On Fri, Jul 15, 2016 at 5:13 PM, Kyrill Tkachov wrote: + /* Record the original statements so that we can keep track of +statements emitted in this pass and not re-process new +statements. */ + for (gsi = gsi_a

Re: [PATCH][RFC] PR middle-end/22141 GIMPLE store widening pass

2016-08-03 Thread Kyrill Tkachov
On 03/08/16 14:50, Richard Biener wrote: On Wed, Aug 3, 2016 at 11:59 AM, Kyrill Tkachov wrote: Hi Richard, On 18/07/16 13:22, Richard Biener wrote: + /* Record the original statements so that we can keep track of +statements emitted in this pass and not re-process new +

Re: [PATCH][RFC] PR middle-end/22141 GIMPLE store widening pass

2016-08-03 Thread Richard Biener
On Wed, Aug 3, 2016 at 11:59 AM, Kyrill Tkachov wrote: > Hi Richard, > > On 18/07/16 13:22, Richard Biener wrote: > > > >> + /* Record the original statements so that we can keep track of >> +statements emitted in this pass and not re-process new >> +statements. */ >> +

Re: [PATCH][RFC] PR middle-end/22141 GIMPLE store widening pass

2016-08-03 Thread Kyrill Tkachov
Hi Richard, On 18/07/16 13:22, Richard Biener wrote: + /* Record the original statements so that we can keep track of +statements emitted in this pass and not re-process new +statements. */ + for (gsi = gsi_after_labels (bb); !gsi_end_p (gsi); gsi_next (&gsi)) +

Re: [PATCH][RFC] PR middle-end/22141 GIMPLE store widening pass

2016-08-01 Thread Jeff Law
On 08/01/2016 03:15 AM, Kyrill Tkachov wrote: On 18/07/16 13:22, Richard Biener wrote: On Fri, Jul 15, 2016 at 5:13 PM, Kyrill Tkachov wrote: Hi all, This is a GIMPLE pass to implement PR middle-end/22141. that is merge narrow stores of constants into fewer wider stores. A 2009 patch from J

Re: [PATCH][RFC] PR middle-end/22141 GIMPLE store widening pass

2016-08-01 Thread Kyrill Tkachov
On 18/07/16 13:22, Richard Biener wrote: On Fri, Jul 15, 2016 at 5:13 PM, Kyrill Tkachov wrote: Hi all, This is a GIMPLE pass to implement PR middle-end/22141. that is merge narrow stores of constants into fewer wider stores. A 2009 patch from Jakub [1] contains many testcases but a simple m

Re: [PATCH][RFC] PR middle-end/22141 GIMPLE store widening pass

2016-07-18 Thread Richard Biener
On Fri, Jul 15, 2016 at 5:13 PM, Kyrill Tkachov wrote: > Hi all, > > This is a GIMPLE pass to implement PR middle-end/22141. that is merge narrow > stores of constants > into fewer wider stores. A 2009 patch from Jakub [1] contains many > testcases but a simple motivating > case can be: > > struc

[PATCH][RFC] PR middle-end/22141 GIMPLE store widening pass

2016-07-15 Thread Kyrill Tkachov
Hi all, This is a GIMPLE pass to implement PR middle-end/22141. that is merge narrow stores of constants into fewer wider stores. A 2009 patch from Jakub [1] contains many testcases but a simple motivating case can be: struct bar { int a; char b; char c; char d; char e; }; // packed