aco: restrict copying of create_vector operands to GFX9+
authorDaniel Schürmann <daniel@schuermann.dev>
Fri, 8 May 2020 14:52:47 +0000 (15:52 +0100)
committerMarge Bot <eric+marge@anholt.net>
Thu, 21 May 2020 12:07:40 +0000 (12:07 +0000)
commit5201985332dae703566764606cbbf4d6f56fc40d
tree397a2cb5c0f151934f671e45cb998aa3787c5e7e
parent8635c28a9264e24e5f0b64e68af31024945cda98
aco: restrict copying of create_vector operands to GFX9+

This improves code size for Polaris and earlier due to less register swapping

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5070>
src/amd/compiler/aco_register_allocation.cpp