nir/vars_to_ssa: Remove an unnecessary deref_arry_type check
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Wed, 11 Apr 2018 06:13:39 +0000 (23:13 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 11 Apr 2018 18:05:05 +0000 (11:05 -0700)
commitfac9dd1b93829a84f634525ce41f18953fe92433
tree486a442de0e2dca7e8854f6f0baf524854eaeec0
parent1c9bccdeb8acf1a531b49bbb6c69ea96879e79de
nir/vars_to_ssa: Remove an unnecessary deref_arry_type check

Only fully-qualified direct derefs, collected in direct_deref_nodes,
are checked for aliasing, so it is already known up front that they
have only array derefs of type direct.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir_lower_vars_to_ssa.c