This is the mail archive of the gcc-patches@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: [PATCH] Add PTA during early optimizations


On Mon, May 25, 2009 at 6:32 AM, Richard Guenther <rguenther@suse.de> wrote:
>
> This adds an early points-to analysis pass as requested by Honza. ?I
> ended up not using the points-to set merging code as I have convinced
> myself that we can re-compute the local points-to solutions retaining
> results from IPA-PTA if we properly use per cgraph-node function infos
> and seed the local constraints with them (which of course remains to
> be done). ?The patch also merges correctness pieces from the earlier
> attempt.
>
> Bootstrapped and tested on x86_64-unknown-linux-gnu, applied to trunk.
>
> Richard.
>
> 2009-05-25 ?Richard Guenther ?<rguenther@suse.de>
>
> ? ? ? ?* tree-ssa-alias.h (dump_points_to_solution): Declare.
> ? ? ? ?* tree-inline.c (expand_call_inline): Reset the escaped and
> ? ? ? ?callused solutions.
> ? ? ? ?* tree-ssa-structalias.c (pass_build_ealias): New.
> ? ? ? ?* tree-pass.h (pass_build_ealias): Declare.
> ? ? ? ?* passes.c (init_optimization_passes): Add PTA during
> ? ? ? ?early optimizations.
> ? ? ? ?* tree-ssa-alias.c (dump_alias_info): Dump the ESCAPED
> ? ? ? ?and CALLUSED solutions.
> ? ? ? ?(dump_points_to_solution): New function, split out from ...
> ? ? ? ?(dump_points_to_info_for): ... here.
> ? ? ? ?* tree-parloops.c (parallelize_loops): Reset the escaped and
> ? ? ? ?callused solutions.
>
> ? ? ? ?* gcc.dg/tree-ssa/ssa-fre-14.c: Adjust.
> ? ? ? ?* gcc.dg/tree-ssa/ssa-fre-15.c: Likewise.
>

This caused:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40247

-- 
H.J.


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