aco: improve sub-dword check for sgpr/constant propagation
authorRhys Perry <pendingchaos02@gmail.com>
Mon, 18 May 2020 14:26:58 +0000 (15:26 +0100)
committerMarge Bot <eric+marge@anholt.net>
Mon, 15 Jun 2020 18:24:22 +0000 (18:24 +0000)
commit9b69ed0bb9503befd73e7bfa4867dc431d01e2ee
tree72168bcc7c57fbab3a6be80a8460201c7dd17398
parent1210e0bd6205c5f5365a29c91425dea3e49d89a7
aco: improve sub-dword check for sgpr/constant propagation

p_create_vector can have sub-dword operands with a v1 definition.

No fossil-db changes.

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/5245>
src/amd/compiler/aco_optimizer.cpp