1 # RUN: llc -march=amdgcn -run-pass=si-fix-sgpr-copies -o - %s | FileCheck --check-prefix=GCN %s
3 # GCN-LABEL: name: fix-sgpr-copies
10 %0:vgpr_32 = IMPLICIT_DEF
11 %1:sreg_32 = IMPLICIT_DEF
12 %2:sreg_32 = IMPLICIT_DEF
13 %3:sreg_32 = IMPLICIT_DEF
14 %4:vgpr_32 = V_CVT_U32_F32_e64 0, %0:vgpr_32, 0, 0, implicit $exec
15 %5:sreg_32 = COPY %4:vgpr_32
16 %6:sreg_32 = S_ADD_I32 %2:sreg_32, %5:sreg_32, implicit-def $scc
17 %7:sreg_32 = S_ADDC_U32 %3:sreg_32, %1:sreg_32, implicit-def $scc, implicit $scc