This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [tuples/LTO] RFC: houghts on auto-generating GS_* data structures
- From: Ian Lance Taylor <iant at google dot com>
- To: Diego Novillo <dnovillo at google dot com>
- Cc: gcc at gcc dot gnu dot org, Aldy Hernandez <aldyh at redhat dot com>, Christopher Matthews <chrismatthews at google dot com>, Ken Zadeck <zadeck at naturalbridge dot com>, Mark Mitchell <mark at codesourcery dot com>
- Date: 26 Jun 2007 16:17:33 -0700
- Subject: Re: [tuples/LTO] RFC: houghts on auto-generating GS_* data structures
- References: <4681722B.10104@google.com>
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