vr-values.h (get_output_for_vrp): Prototype.
authorJeff Law <law@redhat.com>
Fri, 17 Nov 2017 16:25:22 +0000 (09:25 -0700)
committerJeff Law <law@gcc.gnu.org>
Fri, 17 Nov 2017 16:25:22 +0000 (09:25 -0700)
commitf432e4fc930be596b266f160480514aa7f026e82
tree0280065703b6104143b2dbc2f7c4f4be71636ddf
parent4f2a94e68ebd12c85a98c4cf3e840c61094aad34
vr-values.h (get_output_for_vrp): Prototype.

* 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.

From-SVN: r254880
gcc/ChangeLog
gcc/vr-values.c
gcc/vr-values.h