1 ; RUN: opt %s -passes='print<uniformity>' -disable-output 2>&1 | FileCheck %s
3 target datalayout = "e-i64:64-v16:16-v32:32-n16:32:64"
4 target triple = "nvptx64-nvidia-cuda"
6 ; CHECK: CYCLES ASSSUMED DIVERGENT:
7 ; CHECK-NEXT: depth=1: entries(if.end16 for.cond1) for.body4
9 define void @foo(i1 %b) {
11 br i1 %b, label %if.then, label %if.end16
13 if.then: ; preds = %entry
16 for.cond1: ; preds = %if.end16, %for.body4, %if.then
17 br i1 false, label %for.body4, label %if.end16
19 for.body4: ; preds = %for.cond1
22 if.end16: ; preds = %for.cond1, %entry