1 ; RUN: llc -march=amdgcn -verify-machineinstrs < %s | FileCheck -check-prefix=SI %s
2 ; RUN: llc -march=amdgcn -mcpu=tonga -verify-machineinstrs < %s | FileCheck -check-prefix=SI %s
4 ; SILowerI1Copies was not handling IMPLICIT_DEF
5 ; SI-LABEL: {{^}}br_implicit_def:
7 ; SI-NEXT: s_cbranch_scc1
8 define amdgpu_kernel void @br_implicit_def(ptr addrspace(1) %out, i32 %arg) #0 {
10 br i1 undef, label %bb1, label %bb2
13 store volatile i32 123, ptr addrspace(1) %out
20 attributes #0 = { nounwind }