aco/ra: Optimize some SOP2 instructions with literal to SOPK.
authorGeorg Lehmann <dadschoorse@gmail.com>
Sun, 17 Apr 2022 11:17:20 +0000 (13:17 +0200)
committerMarge Bot <emma+marge@anholt.net>
Wed, 6 Jul 2022 09:54:54 +0000 (09:54 +0000)
commite06773281b3ff7fff86a50e3d2ec4a58b3e035cb
treebf17fd5d2b3a332db998a152182459826d4b7a44
parentefdb323ad288db2d0e24dca144416848aea8e085
aco/ra: Optimize some SOP2 instructions with literal to SOPK.

Signed-off-by: Georg Lehmann <dadschoorse@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15999>
src/amd/compiler/aco_register_allocation.cpp