nir: handle nir_deref_type_ptr_as_array in rematerialize_deref_in_block
authorKarol Herbst <kherbst@redhat.com>
Sat, 9 Nov 2019 01:13:25 +0000 (02:13 +0100)
committerKarol Herbst <karolherbst@gmail.com>
Wed, 11 Dec 2019 23:54:39 +0000 (23:54 +0000)
commit70c6bff2f01620bf10258067b6e2ef4ac0959f53
tree1f18878ddea684abf9798b5ec8b672263ec4e578
parentddb9701a3c685dd4e330e236595b64b1e72ed163
nir: handle nir_deref_type_ptr_as_array in rematerialize_deref_in_block

I forgot why that was required, but it still is the correct thing to do.

Hit it at some point when working on implementing more CL features.

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/compiler/nir/nir_deref.c