nir/gcm: Loop over blocks in pin_instructions
authorJason Ekstrand <jason@jlekstrand.net>
Wed, 18 Jan 2017 02:38:36 +0000 (18:38 -0800)
committerMarge Bot <eric+marge@anholt.net>
Mon, 20 Apr 2020 03:46:29 +0000 (03:46 +0000)
commit6006a9e275750bf762f9f041f9078aaf8af4dd0e
tree9ce455ead5a71da42e5581efca9dfe19b4938fd3
parent4d083b52c04745d18d8f5446be5805077fa2c51a
nir/gcm: Loop over blocks in pin_instructions

Now that we have the new block iterators, we can simplify things a bit.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4636>
src/compiler/nir/nir_opt_gcm.c