aco: use the same regclass as the definition for undef phi operands
authorRhys Perry <pendingchaos02@gmail.com>
Thu, 18 Jun 2020 12:52:28 +0000 (13:52 +0100)
committerMarge Bot <eric+marge@anholt.net>
Thu, 18 Jun 2020 17:29:33 +0000 (17:29 +0000)
commitf7cc7079b0d2e3499c71fce1d08bac4b94ae745e
tree2f5f3d51df1e26d9898d0e69532680543fb438ad
parent897a47d84771fb367fa82fd9656b3de20197952c
aco: use the same regclass as the definition for undef phi operands

Subdword phis can't have SGPR operands on GFX6-8.

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/5544>
src/amd/compiler/aco_instruction_selection.cpp