This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, PR 55253] Propagate aggs_contain_variable flag in aggregater IPA-CP
- From: Ian Lance Taylor <iant at google dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>, Jan Hubicka <hubicka at ucw dot cz>
- Date: Tue, 13 Nov 2012 13:08:56 -0800
- Subject: Re: [PATCH, PR 55253] Propagate aggs_contain_variable flag in aggregater IPA-CP
- References: <20121113170333.GA27663@virgil.arch.suse.de>
On Tue, Nov 13, 2012 at 9:03 AM, Martin Jambor <mjambor@suse.cz> wrote:
> Index: src/gcc/ipa-cp.c
> ===================================================================
> --- src.orig/gcc/ipa-cp.c
> +++ src/gcc/ipa-cp.c
> @@ -1276,6 +1276,8 @@ merge_aggregate_lattices (struct cgraph_
> return true;
> if (src_plats->aggs_bottom)
> return set_agg_lats_contain_variable (dest_plats);
> + if (src_plats->aggs_contain_variable)
> + ret |= set_agg_lats_contain_variable (dest_plats);
> dst_aglat = &dest_plats->aggs;
Out of curiousity, why are the lines just above the ones you added not
if (src_plats->aggs_bottom)
return set_agg_lats_to_bottom (dest_plats);
?
Ian