[llvm] [AMDGPU] Add inreg support for SGPR arguments (PR #67182)

Jun Wang via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 9 11:37:01 PDT 2023


================
@@ -58,6 +67,18 @@ define void @single_lane_func_arguments(i32 %i32, i1 %i1) #2 {
  ret void
 }
 
+; CHECK-LABEL: for function 'divergent_args':
+; CHECK: DIVERGENT ARGUMENTS
----------------
jwanggit86 wrote:

Here it's a "CHECK", so the longer string "DIVERGENT ARGUMENTS" is a stronger condition than just "DIVERGENT". Therefore I think we can leave it as it is.

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


More information about the llvm-commits mailing list