aco/ra: Static assert that changing instruction type to VOP2 is valid.
authorGeorg Lehmann <dadschoorse@gmail.com>
Sun, 17 Apr 2022 19:17:18 +0000 (21:17 +0200)
committerMarge Bot <emma+marge@anholt.net>
Wed, 6 Jul 2022 09:54:54 +0000 (09:54 +0000)
commitc9490436b637b21dcb633e8b8f5019ee70a90aff
treec2fedea9f6a78ad68648d3a1c82ae564a899c31f
parent599b587220bb22305d9b682546564fb70b19da6d
aco/ra: Static assert that changing instruction type to VOP2 is valid.

It's not obvious that this is correct.

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