[llvm] [AMDGPU] Handle natively unsupported types in addrspace(7) lowering (PR #110572)

Krzysztof Drewniak via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 1 08:02:30 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:

I found crashes in global isel while working on this patch, but yeah, this should be a separate PR now that you mention it

https://github.com/llvm/llvm-project/pull/110572


More information about the llvm-commits mailing list