nir: Add intrinsics version of locals_to_regs
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Fri, 9 Jun 2023 14:20:43 +0000 (10:20 -0400)
committerMarge Bot <emma+marge@anholt.net>
Wed, 12 Jul 2023 01:34:27 +0000 (01:34 +0000)
commitaea8a702008d72798383759cca86c7846bdba503
treebc9822c189be1a4fd1c3cb255486e0e57fed0363
parentae0408be1bdc7c6edba24e3a36b728a016292b45
nir: Add intrinsics version of locals_to_regs

This isn't so bad. I still duplicated the pass because it makes a lot easier to
have them coexist, switch users over one by one, and then garbage collect the
old when we're done.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23089>
src/compiler/nir/meson.build
src/compiler/nir/nir.h
src/compiler/nir/nir_lower_locals_to_reg_intrinsics.c [new file with mode: 0644]