1; RUN: opt %s -mtriple amdgcn-- -analyze -divergence | FileCheck %s
2
3; CHECK: DIVERGENT:
4; CHECK-NOT: %arg0
5; CHECK-NOT: %arg1
6; CHECK-NOT; %arg2
7; CHECK: <2 x i32> %arg3
8; CHECK: DIVERGENT:  <3 x i32> %arg4
9; CHECK: DIVERGENT:  float %arg5
10; CHECK: DIVERGENT:  i32 %arg6
11
12define amdgpu_ps void @main([4 x <16 x i8>] addrspace(2)* byval %arg0, float inreg %arg1, i32 inreg %arg2, <2 x i32> %arg3, <3 x i32> %arg4, float %arg5, i32 %arg6) #0 {
13  ret void
14}
15
16attributes #0 = { nounwind }
17