Move simplify_cond_using_ranges_2 to tree-vrp.c
authorAldy Hernandez <aldyh@redhat.com>
Tue, 20 Oct 2020 16:39:46 +0000 (18:39 +0200)
committerAldy Hernandez <aldyh@redhat.com>
Wed, 21 Oct 2020 07:47:27 +0000 (09:47 +0200)
commitbae73ca5222381861a29202c88ce5cfe675b6753
tree88b106ddf5b7150b6c247bdb4af571ccadc407bd
parent6c5b08a2ca935c5db68e79d33e5c5b752252115c
Move simplify_cond_using_ranges_2 to tree-vrp.c

This was slated to be moved last year, as its only use is in tree-vrp.c

There are no functional changes.  It's just a move and a rename.

gcc/ChangeLog:

* vr-values.h: Remove simplify_cond_using_ranges_2.
(range_fits_type_p): New.
* vr-values.c (range_fits_type_p): Remove static qualifier.
(vrp_simplify_cond_using_ranges): Move...
* tree-vrp.c (vrp_simplify_cond_using_ranges): ...to here.
gcc/tree-vrp.c
gcc/vr-values.c
gcc/vr-values.h