Re: [EXT] Re: Questions about initialization data during LTO

2019-09-16 Thread Martin Liška
On 9/16/19 8:28 PM, Gary Oblock wrote: So Martin, let me get this straight, all of the initialization information can be fetched here? Yes. I ask this because I was under the impression that some of it was deleted and could not be recovered. No, that should not happen. Martin The worst c

Re: [EXT] Re: Questions about initialization data during LTO

2019-09-16 Thread Gary Oblock
On 9/14/19 8:39 AM, Martin Liška wrote: On 9/13/19 3:01 PM, Gary Oblock wrote: So, back to my questions, any ideas about how to get initialization information? This is going to be a very powerful optimization for code with structures of arrays and I just need a little help getting around a few o

Re: [EXT] Re: Questions about initialization data during LTO

2019-09-14 Thread Martin Liška
On 9/13/19 3:01 PM, Gary Oblock wrote: So, back to my questions, any ideas about how to get initialization information? This is going to be a very powerful optimization for code with structures of arrays and I just need a little help getting around a few obstacles in my path. Sure. So I would p

Re: [EXT] Re: Questions about initialization data during LTO

2019-09-13 Thread Gary Oblock
On 9/13/19 5:20 AM, Martin Liška wrote: > External Email > > -- > On 9/11/19 7:27 PM, Gary Oblock wrote: >> I'm trying to do a set of optimizations that drastically transform the >> layout of arrays of structures. > You're probably

Re: [EXT] Re: Questions about initialization data during LTO

2019-09-13 Thread Richard Biener
On Thu, Sep 12, 2019 at 9:09 PM Gary Oblock wrote: > > On 9/12/19 3:12 AM, Richard Biener wrote: > > External Email > > > > -- > > On Thu, Sep 12, 2019 at 1:28 AM Gary Oblock wrote: > >> I'm trying to do a set of optimizations th

Re: Questions about initialization data during LTO

2019-09-13 Thread Martin Liška
On 9/11/19 7:27 PM, Gary Oblock wrote: I'm trying to do a set of optimizations that drastically transform the layout of arrays of structures. You're probably talking about struct-reorg pass that we used to have. Last note about the optimization I have comes from Cauldron 2015: https://www.youtu

Re: [EXT] Re: Questions about initialization data during LTO

2019-09-12 Thread Gary Oblock
On 9/12/19 3:12 AM, Richard Biener wrote: > External Email > > -- > On Thu, Sep 12, 2019 at 1:28 AM Gary Oblock wrote: >> I'm trying to do a set of optimizations that drastically transform the >> layout of arrays of structures. Fo

Re: Questions about initialization data during LTO

2019-09-12 Thread Richard Biener
On Thu, Sep 12, 2019 at 1:28 AM Gary Oblock wrote: > > I'm trying to do a set of optimizations that drastically transform the > layout of arrays of structures. For obvious reasons they will need to > run at LTO time. I'm running into some difficulties comprehending how > the initialization data is

Questions about initialization data during LTO

2019-09-11 Thread Gary Oblock
I'm trying to do a set of optimizations that drastically transform the layout of arrays of structures. For obvious reasons they will need to run at LTO time. I'm running into some difficulties comprehending how the initialization data is stored. Also, I'm seeing DECL_INITIALs being set to NULL and