Re: [PATCH] Fix propagate_vr_across_jump_function (PR ipa/92883)

2019-12-10 Thread Jeff Law
On Tue, 2019-12-10 at 21:33 +0100, Jakub Jelinek wrote: > Hi! > > The ipa vr hash table apparently intentionally doesn't differentiate > between > value ranges with different types, all that matters are the values of > min and max, so before using it ipa_vr_operation_and_type_effects > needs to >

[PATCH] Fix propagate_vr_across_jump_function (PR ipa/92883)

2019-12-10 Thread Jakub Jelinek
Hi! The ipa vr hash table apparently intentionally doesn't differentiate between value ranges with different types, all that matters are the values of min and max, so before using it ipa_vr_operation_and_type_effects needs to be called to convert the value_range to the right type. Most of the spot