[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:36:38 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
----------------
jwanggit86 wrote:
Because this is a "CHECK-NOT", removing the word "ARGUMENTS" would make the condition stronger. So I suppose it can be removed.
https://github.com/llvm/llvm-project/pull/67182
More information about the llvm-commits
mailing list