nir: Add a nir_src_is_undef() helper, like nir_src_is_const().
authorEric Anholt <eric@anholt.net>
Mon, 1 Mar 2021 23:04:25 +0000 (15:04 -0800)
committerMarge Bot <eric+marge@anholt.net>
Wed, 3 Mar 2021 00:51:44 +0000 (00:51 +0000)
commit1e5ef4c60c69b55ff4284cb1514936fc88bb4cd6
tree54df0152489e46d7f9541bc2de6199161d402ed6
parentc77df59c9e63d4da668aaf24f98d97a295ebbff3
nir: Add a nir_src_is_undef() helper, like nir_src_is_const().

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9345>
src/compiler/nir/nir.h
src/compiler/nir/nir_divergence_analysis.c
src/compiler/nir/nir_gather_ssa_types.c
src/compiler/nir/nir_liveness.c
src/compiler/nir/nir_opt_remove_phis.c
src/intel/compiler/brw_fs_nir.cpp