[RFC][IPA-VRP] Add support for IPA VRP in ipa-cp/ipa-prop

Jan Hubicka hubicka@ucw.cz
Fri Sep 2 12:31:00 GMT 2016


> Hi Honza,
> 
> Here is a re-based version which also addresses the review comments.
> 
> Do you mean the following, I was following other implementations.
> 
> @@ -2264,6 +2430,11 @@ propagate_constants_accross_call (struct
> cgraph_edge *cs)
>         &dest_plats->bits_lattice);
>    ret |= propagate_aggs_accross_jump_function (cs, jump_func,
>         dest_plats);
> +  if (opt_for_fn (callee->decl, flag_ipa_vrp))
> +    ret |= propagate_vr_accross_jump_function (cs,
> +       jump_func, dest_plats);
> +  else
> +    ret |= dest_plats->m_value_range.set_to_bottom ();

yes, that looks fine.

Path is OK, thanks!

Honza



More information about the Gcc-patches mailing list