================
@@ -492,7 +511,8 @@ LLT 
RegBankLegalizeHelper::getBTyFromID(RegBankLLTMappingApplyID ID, LLT Ty) {
   case UniInVgprB64:
     if (Ty == LLT::scalar(64) || Ty == LLT::fixed_vector(2, 32) ||
         Ty == LLT::fixed_vector(4, 16) || Ty == LLT::pointer(0, 64) ||
-        Ty == LLT::pointer(1, 64) || Ty == LLT::pointer(4, 64))
+        Ty == LLT::pointer(1, 64) || Ty == LLT::pointer(4, 64) ||
+        Ty == LLT::pointer(999, 64))
----------------
ritter-x2a wrote:

7 and 8 are bigger than that (see 
[here](https://llvm.org/docs/AMDGPUUsage.html#amdgpu-address-spaces-table), but 
I don't know if we support them in Global ISel). We treat everything above 
`AMDGPUAS::MAX_AMDGPU_ADDRESS` as an alias to the 64-bit flat AS 
[here](https://github.com/llvm/llvm-project/blob/54ff03532148bfc48ace062e453eaad8ec74fdda/llvm/include/llvm/Support/AMDGPUAddrSpace.h#L94).

https://github.com/llvm/llvm-project/pull/132384
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to