# NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5 # RUN: llc -mtriple=amdgcn -run-pass si-fix-sgpr-copies -verify-machineinstrs -o - %s | FileCheck -check-prefix=GCN %s --- name: copy_to_vreg_1 tracksRegLiveness: true body: | ; GCN-LABEL: name: copy_to_vreg_1 ; GCN: bb.0: ; GCN-NEXT: successors: %bb.1(0x80000000) ; GCN-NEXT: liveins: $vgpr0, $vgpr1 ; GCN-NEXT: {{ $}} ; GCN-NEXT: [[V_CVT_U32_F32_e64:%[0-9]+]]:vgpr_32 = nofpexcept V_CVT_U32_F32_e64 0, killed $vgpr0, 0, 0, implicit $mode, implicit $exec ; GCN-NEXT: [[COPY1:%[0-9]+]]:vgpr_32 = COPY $vgpr1 ; GCN-NEXT: [[V_CMP_GT_U32_e64:%[0-9]+]]:sreg_64_xexec = samesign V_CMP_GT_U32_e64 [[V_CVT_U32_F32_e64]], killed [[COPY1]], implicit $exec ; GCN-NEXT: [[VREG1:%[0-9]+]]:vreg_1 = COPY [[V_CMP_GT_U32_e64]] ; GCN-NEXT: {{ $}} ; GCN-NEXT: bb.1: ; GCN-NEXT: S_ENDPGM 0 bb.0: liveins: $vgpr0, $vgpr1 %0:vgpr_32 = nofpexcept V_CVT_U32_F32_e64 0, killed $vgpr0, 0, 0, implicit $mode, implicit $exec %1:sreg_32 = COPY %0:vgpr_32 %2:sreg_32 = COPY $vgpr1 samesign S_CMP_GT_U32 %1:sreg_32, killed %2:sreg_32, implicit-def $scc %3:sreg_64 = COPY $scc %4:vreg_1 = COPY %3:sreg_64 bb.1: S_ENDPGM 0 ... ## NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line: # GCN: {{.*}}