[llvm] [AMDGPU] promote i1 arg type for admgpu_cs (PR #82971)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 27 09:04:00 PST 2024


================
@@ -2078,4 +2078,13 @@ entry:
   ret void
 }
 
+; test that i1 argument for amdgpu_cs is working
+define amdgpu_cs void @amdgpu_cs_i1_arg(i1 %arg0) {
+; GCN-LABEL: amdgpu_cs_i1_arg:
+; GCN:       ; %bb.0: ; %bb
+; GCN-NEXT:    s_endpgm
+bb:
+  ret void
+}
+
----------------
arsenm wrote:

Can you also check the inreg case? Also some i1 vectors 

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


More information about the llvm-commits mailing list