1 ; RUN: opt -mtriple amdgcn-- -passes='print<uniformity>' -disable-output %s 2>&1 | FileCheck %s
3 ; CHECK: DIVERGENT: %divergentval
4 ; CHECK-NOT: DIVERGENT: %uniformval
7 %divergentval = call i32 @normalfunc()
8 %uniformval = call i32 @nodivergencesourcefunc()
12 declare i32 @normalfunc() #0
13 declare i32 @nodivergencesourcefunc() #1
15 attributes #0 = { nounwind }
16 attributes #1 = { nounwind nodivergencesource }