On Wed, 26 Feb 2020, Jan Hubicka wrote:

> Hi,
> this is and TBAA stat for building cc1 with -flto-partition=none.
> 
> From:
> 
> Alias oracle query stats:
>   refs_may_alias_p: 46099243 disambiguations, 55677716 queries
>   ref_maybe_used_by_call_p: 124351 disambiguations, 46883813 queries
>   call_may_clobber_ref_p: 12673 disambiguations, 17133 queries
>   nonoverlapping_component_refs_p: 0 disambiguations, 3803 queries
>   nonoverlapping_refs_since_match_p: 19034 disambiguations, 46849 must 
> overlaps, 67934 queries
>   aliasing_component_refs_p: 76737 disambiguations, 300234 queries
>   TBAA oracle: 15816119 disambiguations 39888339 queries
>                12364426 are in alias set 0
>                7655945 queries asked about the same object
>                178 queries asked about the same alias set
>                0 access volatile
>                2963837 are dependent in the DAG
>                1087834 are aritificially in conflict with void *
> 
> PTA query stats:
>   pt_solution_includes: 904096 disambiguations, 9062937 queries
>   pt_solutions_intersect: 853990 disambiguations, 10098128 queries
> 
> to:
> 
> Alias oracle query stats:
>   refs_may_alias_p: 48168904 disambiguations, 57845554 queries
>   ref_maybe_used_by_call_p: 124062 disambiguations, 48953042 queries
>   call_may_clobber_ref_p: 12658 disambiguations, 17137 queries
>   nonoverlapping_component_refs_p: 0 disambiguations, 3312 queries
>   nonoverlapping_refs_since_match_p: 18997 disambiguations, 45778 must 
> overlaps, 67109 queries
>   aliasing_component_refs_p: 58756 disambiguations, 296126 queries
>   TBAA oracle: 16036749 disambiguations 40132907 queries
>                12352609 are in alias set 0
>                7697466 queries asked about the same object
>                178 queries asked about the same alias set
>                0 access volatile
>                2964615 are dependent in the DAG
>                1081290 are aritificially in conflict with void *
> 
> PTA query stats:
>   pt_solution_includes: 826579 disambiguations, 8987330 queries
>   pt_solutions_intersect: 841758 disambiguations, 10078495 queries
> 
> So aliasing_component_refs_p drops from 25% disambiguation rate to 19% which
> is quite noticeable. I will run SPEC benchmarks.

OTOH overall TBAA oracle goes from 39.95% to 39.65% only also overall
refs_may_alias_p disambiguation rate goes up!  So I'm not sure you
can compare those numbers since the set of queries in both is
different and possibly unrelated enough...

Different early opt and thus different partitioning/inlining might
also lead to a not meaningful comparison.

Richard.

Reply via email to