nir: use nir_function_instructions_pass in the inliner.
authorDave Airlie <airlied@redhat.com>
Wed, 6 Sep 2023 03:39:51 +0000 (13:39 +1000)
committerMarge Bot <emma+marge@anholt.net>
Tue, 12 Sep 2023 01:57:50 +0000 (01:57 +0000)
commite6bfe7c501aa1e1f9c8a5499a35f86934a27c8e0
treef0aaf7b93204847eb63fcf48d748a22f18670217
parent5f568625fa49c8afaa4005760f8d4c76c7d18eb7
nir: use nir_function_instructions_pass in the inliner.

This moves the current inliner to use the pass.

Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24687>
src/compiler/nir/nir_functions.c