This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH][LTO] Remove all stmt fixup on readin
- From: Diego Novillo <dnovillo at google dot com>
- To: Richard Guenther <rguenther at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 14 Jul 2010 11:52:56 -0400
- Subject: Re: [PATCH][LTO] Remove all stmt fixup on readin
- References: <alpine.LNX.firstname.lastname@example.org>
On 10-07-14 10:15 , Richard Guenther wrote:
This is the first step to a somewhat saner fixup for mismatched decls.
Something I promised that will be possible with MEM_REF. So, here it is.
The key is to have all possibly conflicting (thus, non-automatic)
VAR_DECLs wrapped in a MEM_REF. Something I do not (yet?) enforce
for all GIMPLE IL, so just make sure to wrap them during LTO stream
Bootstrapped and tested on x86_64-unknown-linux-gnu, SPEC 2k6 build
So, the idea would be that we can now lookup the MEM_REF operand instead
of having to rewrite the IL when we stream in?
Shouldn't we need to fixup the type for the MEM_REF?