nir/vars_to_ssa: Use a non-null UNDEF_NODE pointer
authorJason Ekstrand <jason@jlekstrand.net>
Wed, 22 May 2019 23:01:14 +0000 (18:01 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Fri, 31 May 2019 01:08:03 +0000 (01:08 +0000)
commit911ea2c66fc54c5066707f7fe4451ec573792ae7
treea85cd25101c920b89f06e259f86e14e09443a913
parente84194686d1234f9c6e9ba02d223a61ad3ca7b6a
nir/vars_to_ssa: Use a non-null UNDEF_NODE pointer

We're about to change the meaning of get_deref_node returning NULL so we
need a non-NULL value to mean properly undefined.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
src/compiler/nir/nir_lower_vars_to_ssa.c