Hi, On Mon, May 22 2023, Aldy Hernandez via Gcc-patches wrote: > This patch converts the ipa_jump_func code to use the type agnostic > ipa_vr suitable for GC instead of value_range which is integer specific. > > I've disabled the range cacheing to simplify the patch for review, but > it is handled in the next patch in the series. > > OK? > > gcc/ChangeLog: > > * ipa-cp.cc (ipa_vr_operation_and_type_effects): New. > * ipa-prop.cc (ipa_get_value_range): Adjust for ipa_vr. > (ipa_set_jfunc_vr): Take a range. > (ipa_compute_jump_functions_for_edge): Pass range to > ipa_set_jfunc_vr. > (ipa_write_jump_function): Call streamer write helper. > (ipa_read_jump_function): Call streamer read helper. > * ipa-prop.h (class ipa_vr): Change m_vr to an ipa_vr.
OK, thanks and sorry for the waiting, I've been unexpectedly traveling last week. Martin > --- > gcc/ipa-cp.cc | 15 +++++++++++ > gcc/ipa-prop.cc | 70 ++++++++++++++++++------------------------------- > gcc/ipa-prop.h | 5 +++- > 3 files changed, 44 insertions(+), 46 deletions(-) > [...]