nir/lower_io: Return SSA defs from helpers
authorJason Ekstrand <jason@jlekstrand.net>
Fri, 19 Jul 2019 20:30:27 +0000 (15:30 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Tue, 23 Jul 2019 22:48:49 +0000 (17:48 -0500)
commit9700e45463fa6b4b5c0535b7bafa0c438eeaee84
tree43ea9a19b51812915dff9cb3b5bd82ec01193145
parent7cf50af6f512024331d766832e0cc20a6a4499d7
nir/lower_io: Return SSA defs from helpers

I can't find a single place where nir_lower_io is called after going out
of SSA which is the only real reason why you wouldn't do this. Returning
SSA defs is more idiomatic and is required for the next commit.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/compiler/nir/nir_lower_io.c