[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: add RegBankLegalize rules for select (PR #132384)

Fabian Ritter via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Mar 27 08:44:41 PDT 2025


================
@@ -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:

I don't think we should have special case handling for address space 999. The tests using that AS surely just use it to represent "any other address space"?

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


More information about the llvm-branch-commits mailing list