aco/ra: fix stride check on subdword parallelcopies for create_vector
authorDaniel Schürmann <daniel@schuermann.dev>
Mon, 14 Mar 2022 12:56:12 +0000 (13:56 +0100)
committerMarge Bot <emma+marge@anholt.net>
Thu, 31 Mar 2022 08:55:07 +0000 (08:55 +0000)
commitdb8c401f71b5057b39f0dd4782784173a7091e5e
treedb375d104e2183e20c3b2df18789c2f0d34b2af0
parentd32656bc65a7c0165e53d551e23462d626bbf870
aco/ra: fix stride check on subdword parallelcopies for create_vector

On GFX6/7, info.rc is in full dwords.

Fixes: 9476986e6f6fe49ef8bc511f4ebeca4232263888 ('aco/ra: special-case get_reg_for_create_vector_copy()')
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15393>
src/amd/compiler/aco_register_allocation.cpp