[llvm] [AMDGPU] Add inreg support for SGPR arguments (PR #67182)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 6 08:28:25 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
+define void @divergent_args(i32 %i32, i1 %i1) {
+ ret void
+}
+
+; CHECK-LABEL: for function 'no_divergent_args_if_inreg':
+; CHECK-NOT: DIVERGENT ARGUMENTS
----------------
arsenm wrote:
don't need ARGUMENTS?
https://github.com/llvm/llvm-project/pull/67182
More information about the llvm-commits
mailing list