* vr-values.h (get_output_for_vrp): Prototype.
commit46bc42c6ceaac8a77c34e30839ce72a194e1c884
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Nov 2017 16:25:22 +0000 (17 16:25 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Nov 2017 16:25:22 +0000 (17 16:25 +0000)
tree0280065703b6104143b2dbc2f7c4f4be71636ddf
parent501b443f2c811c99074d4870725f051aee4eb2b2
* vr-values.h (get_output_for_vrp): Prototype.
* vr-values.c (get_output_for_vrp): New function extracted from
vrp_visit_assignment_or_call and extract_range_from_stmt.
(vrp_visit_assignment_or_call): Use get_output_for_vrp.  Simplify.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@254880 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/vr-values.c
gcc/vr-values.h