diff options
author | Martin Jambor <mjambor@suse.cz> | 2024-11-14 20:55:06 +0100 |
---|---|---|
committer | Martin Jambor <jamborm@gcc.gnu.org> | 2024-11-14 20:55:22 +0100 |
commit | 012f5a22bac26a898ab66655965b07ac23201fdd (patch) | |
tree | b5fe41deaaa78cd760f2fb460b2637201d86e0b3 /gcc/fortran | |
parent | 361050589b144913ec05d9d8e10639afa98319a8 (diff) | |
download | gcc-012f5a22bac26a898ab66655965b07ac23201fdd.zip gcc-012f5a22bac26a898ab66655965b07ac23201fdd.tar.gz gcc-012f5a22bac26a898ab66655965b07ac23201fdd.tar.bz2 |
ipa: Rationalize IPA-VR computations across pass-through jump functions
Currently ipa_value_range_from_jfunc and
propagate_vr_across_jump_function contain similar but not same code
for dealing with pass-through jump functions. This patch puts these
common bits into one function which can also handle comparison
operations.
gcc/ChangeLog:
2024-11-01 Martin Jambor <mjambor@suse.cz>
PR ipa/114985
* ipa-cp.cc (ipa_vr_intersect_with_arith_jfunc): New function.
(ipa_value_range_from_jfunc): Move the common functionality to the
above new function, adjust the rest so that it works with it well.
(propagate_vr_across_jump_function): Likewise.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions