[llvm] [AMDGPU][GlobalISel] Allow selecting buffer_load/store of pointers (PR #110714)
Krzysztof Drewniak via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 1 15:42:51 PDT 2024
================
@@ -5805,6 +5806,10 @@ Register AMDGPULegalizerInfo::fixStoreSourceType(
if (hasBufferRsrcWorkaround(Ty))
return castBufferRsrcToV4I32(VData, B);
+ if (shouldBitcastLoadStoreType(ST, Ty, MemTy) || Ty.isPointerVector()) {
----------------
krzysz00 wrote:
It isn't. All the pointers vectors fall to the `Size <= 64` case and so don't get bitcast
https://github.com/llvm/llvm-project/pull/110714
More information about the llvm-commits
mailing list