This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [tuples/LTO] RFC: houghts on auto-generating GS_* data structures


Diego Novillo <dnovillo@google.com> writes:

> But, first, I'd like to know what folks think about this.  Would it be
> generally useful for us to have the IL data structures auto-generated
> this way?  I can see the benefits in the reader/writer.  But also, we
> are going to have to re-implement the reader/writer when we move GIMPLE
> out of the tree data structures.  OTOH, we will probably change them,
> add new codes and having them autogenerated may have other advantages.

If we can use mmap to read the IL--which I personally think is going
to be a requirement for speed during the LTO phase--then this issue
does not necessarily arise.  Rather than see work on this, I
personally would prefer to see work toward developing an IL which can
be read using mmap (possibly with pointer swizzling during the write
phase, which is less time critical).

If it turns out that auto-generation is still useful during the write
phase, I have no problem with it.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]