nir/deref: Consider COHERENT decorated var derefs as aliasing
authorJason Ekstrand <jason.ekstrand@intel.com>
Sun, 10 Mar 2019 22:41:02 +0000 (17:41 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Fri, 15 Mar 2019 01:02:19 +0000 (01:02 +0000)
commit60af3a93e9c25e9d5661bfda215a0b07463fe146
tree02c948ba672e77083938a51aeee075a55ff6a2ff
parent8b073832ffab2f36338b85e6e67fbefb1b4f4ba9
nir/deref: Consider COHERENT decorated var derefs as aliasing

If we get to two deref_var paths with different variables, we usually
know they don't alias.  However, if both of the paths are marked
coherent, we don't have to worry about it.

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
src/compiler/nir/nir_deref.c