vr-values.c (gimple_stmt_nonzero_p): Abstract common code to...
authorAldy Hernandez <aldyh@redhat.com>
Wed, 11 Jul 2018 15:30:51 +0000 (15:30 +0000)
committerAldy Hernandez <aldyh@gcc.gnu.org>
Wed, 11 Jul 2018 15:30:51 +0000 (15:30 +0000)
commit288aaa5f852b6f93078e15b7ac17af3b4930decd
tree774a14ad8d1ed095e9895cd329d92655d84195e0
parentdff2abcbee65dbb4b7ca3ade0f7622ffdc0af391
vr-values.c (gimple_stmt_nonzero_p): Abstract common code to...

        * 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_nonnull_result_p): New.
        (gimple_call_nonnull_arg): New.

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