aco: add search_backwards helper
authorRhys Perry <pendingchaos02@gmail.com>
Thu, 25 Aug 2022 16:32:49 +0000 (17:32 +0100)
committerMarge Bot <emma+marge@anholt.net>
Wed, 19 Oct 2022 02:46:03 +0000 (02:46 +0000)
commit484df5b30e815ffb8b8664580ef1b79d91a4d970
tree357850ac16c035e0808c3eb85eda568312e6868e
parent6558a9e1fb4666ea1697191beea79917a14f4eba
aco: add search_backwards helper

This will be useful for VALUPartialForwardingHazard.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18273>
src/amd/compiler/aco_insert_NOPs.cpp