nir: Take if uses into account in ssa_def_components_read
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 25 Jul 2018 17:33:33 +0000 (10:33 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sun, 29 Jul 2018 20:39:35 +0000 (13:39 -0700)
commit9a4ab4c120b97397321b8a86abdbdbe96ee42141
tree3e7f6c290dc3509f3c4ec26fae9688c893813e62
parent5c1c6939ce384dbcae690ed4d5fbfca3ae240844
nir: Take if uses into account in ssa_def_components_read

Fixes: d800b7daa5440 "nir: Add a helper for figuring out what..."
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
src/compiler/nir/nir.c