1 # RUN: llc -mtriple=amdgcn-- -mcpu=gfx900 -run-pass=print-machine-uniformity -o - %s 2>&1 | FileCheck %s
6 ; CHECK-LABEL: MachineUniformityInfo for function: f1
8 successors: %bb.1, %bb.2
10 ; CHECK-NOT: DIVERGENT: %1
11 %1:sreg_64(s64) = G_IMPLICIT_DEF
12 ; CHECK: DIVERGENT: {{.*}} SI_IF
13 %2:sreg_64 = SI_IF %1, %bb.2, implicit-def $exec, implicit-def $scc, implicit $exec
26 ; CHECK-LABEL: MachineUniformityInfo for function: f2
28 successors: %bb.1, %bb.2
30 ; CHECK-NOT: DIVERGENT: %1
31 %1:sreg_64(s64) = G_IMPLICIT_DEF
32 ; CHECK: DIVERGENT: {{.*}} SI_ELSE
33 %2:sreg_64 = SI_ELSE %1, %bb.2, implicit-def $exec, implicit-def $scc, implicit $exec