aco: Assert that operands have the same byte offset when reassigning split vectors
authorGeorg Lehmann <dadschoorse@gmail.com>
Wed, 3 May 2023 09:24:19 +0000 (11:24 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 11 May 2023 10:26:24 +0000 (10:26 +0000)
commitc1cf40da8a59c29542ac1e7988b4579c4aa89d6c
treeefba32a35b159a4e4a752c91a8d40a2a4d896d90
parentd3f06cf5ce0764b37a03a0f2bfbb109a4d75884d
aco: Assert that operands have the same byte offset when reassigning split vectors

This can not happen because the post-RA optimizer doesn't support sub dword
writes at the moment, but everytime I look at this I wonder if there might
be a bug here.

Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22821>
src/amd/compiler/aco_optimizer_postRA.cpp