aco: fix shared subdword loads
authorDaniel Schürmann <daniel@schuermann.dev>
Fri, 12 Jun 2020 10:59:27 +0000 (11:59 +0100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 12 Jun 2020 13:56:12 +0000 (13:56 +0000)
commit1f98d8c804094fcda1c607234433f2ba2be2cf07
tree3a7c334f878d012e8ec13a02de2e8b6354c87c8f
parente7e9969efec777443a022056939049dfa82c5cf4
aco: fix shared subdword loads

Shared subdword loads don't need byte alignment as they are split
into multiple loads if necessary.

Fixes: 5cde4989d3c8c25b0ba2a11ec450625e30092b16 ('aco: remove unnecessary split- and create_vector instructions for subdword loads')
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5441>
src/amd/compiler/aco_instruction_selection.cpp