On 9/11/18 4:09 AM, Aldy Hernandez wrote:
> We can calculate wide_int_range_shift_undefined_p() without having to
> pass down the sign bit of the operand. Also, vrp_shift_undefined_p is a
> brain dead wrapper so I'm removing it.
>
> OK for trunk?
>
> curr.patch
>
> commit 9aeb62d4c33b50bc007b07ec5097e8f3edd4b31b
> Author: Aldy Hernandez <al...@redhat.com>
> Date: Mon Sep 10 17:46:10 2018 +0200
>
> * tree-vrp.c (vrp_shift_undefined_p): Remove.
> (extract_range_from_binary_expr_1: Call
> wide_int_range_shift_undefined_p instead of vrp_shift_undefined_p.
> * wide-int-range.h (wide_int_range_shift_undefined_p): Do not
> depend on sign.
OK
jeff