aco: don't store byte-aligned short stores
authorRhys Perry <pendingchaos02@gmail.com>
Tue, 26 May 2020 15:43:05 +0000 (16:43 +0100)
committerMarge Bot <eric+marge@anholt.net>
Wed, 24 Jun 2020 10:52:28 +0000 (10:52 +0000)
commita0f6ca4393d9b28e303a043ad4125430001aca68
treec7fef97c48d080e40e5454293a7421add39bc48c
parenta18da83d184ffa93f943a5963ebd4b86fa41fa91
aco: don't store byte-aligned short stores

The ISA docs don't seem to say if this is allowed, so just assume short
stores require short alignment.

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