brintos

brintos / llvm-project-archived public Read only

0
0
Text · 992 B · 4da7c43 Raw
41 lines · plain
1# RUN: llc -mtriple=amdgcn-- -mcpu=gfx900 -run-pass=print-machine-uniformity -o - %s 2>&1 | FileCheck %s2# RUN: llc -mtriple=amdgcn-- -mcpu=gfx900 -passes='print<machine-uniformity>' -filetype=null %s 2>&1 | FileCheck %s3 4---5name:            f16body:             |7  ; CHECK-LABEL: MachineUniformityInfo for function:  @f18  bb.0:9    successors: %bb.1, %bb.210 11    ; CHECK-NOT: DIVERGENT: %112    %1:sreg_64(s64) = G_IMPLICIT_DEF13    ; CHECK: DIVERGENT: {{.*}} SI_IF14    %2:sreg_64 = SI_IF %1, %bb.2, implicit-def $exec, implicit-def $scc, implicit $exec15 16  bb.1:17    SI_RETURN18 19  bb.2:20    G_BR %bb.121 22...23 24---25name:            f226body:             |27  ; CHECK-LABEL: MachineUniformityInfo for function:  @f228  bb.0:29    successors: %bb.1, %bb.230 31    ; CHECK-NOT: DIVERGENT: %132    %1:sreg_64(s64) = G_IMPLICIT_DEF33    ; CHECK: DIVERGENT: {{.*}} SI_ELSE34    %2:sreg_64 = SI_ELSE %1, %bb.2, implicit-def $exec, implicit-def $scc, implicit $exec35 36  bb.1:37    SI_RETURN38 39  bb.2:40    G_BR %bb.141