nir: Initialize nir_ssa_def::live_index
authorJason Ekstrand <jason@jlekstrand.net>
Fri, 31 Jul 2020 15:36:35 +0000 (10:36 -0500)
committerMarge Bot <eric+marge@anholt.net>
Wed, 19 Aug 2020 19:43:31 +0000 (19:43 +0000)
commitac95bb45e821f5ae89e23b1b10bb8e62cdf81a76
treeff8b774c65b6390402398c15bdb6cffede50c0d5
parent8f7784ee8da38050a99aa55a27fe18a7f85b6464
nir: Initialize nir_ssa_def::live_index

Previously, this was left uninitialized.  Let's initialize it to an
obviously bogus value so we notice if anyone ever tries to use stale
liveness data.

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6210>
src/compiler/nir/nir.c