[AMDGPU] Allow vector access types in PromoteAllocaToVector
authorpvanhout <pierre.vanhoutryve@amd.com>
Wed, 19 Jul 2023 13:33:28 +0000 (15:33 +0200)
committerpvanhout <pierre.vanhoutryve@amd.com>
Tue, 25 Jul 2023 05:44:48 +0000 (07:44 +0200)
commit3cd4afce5b18c1d179a53b21eae93122560b17c7
tree8326ab3aaf8ce30f317c72e9d66b7139c40f1a4a
parent3890a3b11398a58811098ff4d3a7ff949fea1143
[AMDGPU] Allow vector access types in PromoteAllocaToVector

Depends on D152706
Solves SWDEV-408279

Reviewed By: #amdgpu, arsenm

Differential Revision: https://reviews.llvm.org/D155699
llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
llvm/test/CodeGen/AMDGPU/promote-alloca-loadstores.ll
llvm/test/CodeGen/AMDGPU/promote-alloca-subvecs.ll [new file with mode: 0644]