nir/deref: Layer rematerialization helpers
authorKonstantin Seurer <konstantin.seurer@gmail.com>
Mon, 18 Sep 2023 16:32:07 +0000 (18:32 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 22 Sep 2023 10:05:58 +0000 (10:05 +0000)
commitbe8a73f40d0ac6850d483d2bd30d9220c5dd74a2
tree7e7ec69d35e1c84c48c629e9b59672ee292a737b
parent439e8c42cc4b46a8410e4afd8bc24fc3ed0ce1c8
nir/deref: Layer rematerialization helpers

nir_rematerialize_derefs_in_use_blocks_impl can be implemented on top of
nir_rematerialize_deref_in_use_blocks.

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23712>
src/compiler/nir/nir_deref.c