Re: abstract gimple_call_nonnull*() from vr-values

2018-07-11 Thread Richard Biener
On Tue, Jul 10, 2018 at 12:14 PM Aldy Hernandez wrote: > > Ho hum, more abstractions. > > No change in functionality. > > OK for trunk? OK. Bonus points for finding the copy I vaguely remember exists somewhere... Richard.

abstract gimple_call_nonnull*() from vr-values

2018-07-10 Thread Aldy Hernandez
Ho hum, more abstractions. No change in functionality. OK for trunk? gcc/ * vr-values.c (gimple_stmt_nonzero_p): Abstract common code to... * gimple.c (gimple_call_nonnull_result_p): ...here... (gimple_call_nonnull_arg): ...and here. * gimple.h (gimple_call_nonn