nir: Add a helper for fetching the SSA def from an instruction
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 11 Jul 2019 20:05:27 +0000 (15:05 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Tue, 16 Jul 2019 16:05:16 +0000 (16:05 +0000)
commitc74b98486a17f85e792ff6d540569264ad359f45
tree18e6fe13f077a1c8b6706733b8ada1bd829d7fbc
parent75b53a159d257aeade703d5a866c56c3f6f71846
nir: Add a helper for fetching the SSA def from an instruction

Reviewed-by: Eric Anholt <eric@anholt.net>
src/compiler/nir/nir.c
src/compiler/nir/nir.h