11# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2- # RUN: llc -mtriple=amdgcn -mcpu=gfx700 -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck -check-prefixes=GFX %s
3- # RUN: llc -mtriple=amdgcn -mcpu=gfx803 -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck -check-prefixes=GFX %s
2+ # RUN: llc -mtriple=amdgcn -mcpu=gfx700 -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck -check-prefixes=GFX7 %s
3+ # RUN: llc -mtriple=amdgcn -mcpu=gfx803 -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck -check-prefixes=GF8 %s
44# RUN: llc -mtriple=amdgcn -mcpu=gfx1100 -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck -check-prefixes=GFX11 %s
55
66---
@@ -10,16 +10,23 @@ regBankSelected: true
1010tracksRegLiveness : true
1111body : |
1212 bb.0:
13- ; GFX-LABEL: name: test_copy_scc_vcc
14- ; GFX: [[DEF:%[0-9]+]]:sreg_64_xexec = IMPLICIT_DEF
15- ; GFX-NEXT: [[S_OR_B64_:%[0-9]+]]:sreg_64 = S_OR_B64 [[DEF]], [[DEF]], implicit-def $scc
16- ; GFX-NEXT: [[COPY:%[0-9]+]]:sreg_32 = COPY $scc
17- ; GFX-NEXT: $sgpr0 = COPY [[COPY]]
18- ; GFX-NEXT: S_ENDPGM 0, implicit $sgpr0
13+ ; GFX7-LABEL: name: test_copy_scc_vcc
14+ ; GFX7: [[DEF:%[0-9]+]]:sreg_64_xexec = IMPLICIT_DEF
15+ ; GFX7-NEXT: [[S_OR_B64_:%[0-9]+]]:sreg_64 = S_OR_B64 [[DEF]], [[DEF]], implicit-def $scc
16+ ; GFX7-NEXT: [[COPY:%[0-9]+]]:sreg_32 = COPY $scc
17+ ; GFX7-NEXT: $sgpr0 = COPY [[COPY]]
18+ ; GFX7-NEXT: S_ENDPGM 0, implicit $sgpr0
19+ ;
20+ ; GF8-LABEL: name: test_copy_scc_vcc
21+ ; GF8: [[DEF:%[0-9]+]]:sreg_64_xexec = IMPLICIT_DEF
22+ ; GF8-NEXT: S_CMP_LG_U64 [[DEF]], 0, implicit-def $scc
23+ ; GF8-NEXT: [[COPY:%[0-9]+]]:sreg_32 = COPY $scc
24+ ; GF8-NEXT: $sgpr0 = COPY [[COPY]]
25+ ; GF8-NEXT: S_ENDPGM 0, implicit $sgpr0
1926 ;
2027 ; GFX11-LABEL: name: test_copy_scc_vcc
2128 ; GFX11: [[DEF:%[0-9]+]]:sreg_32_xm0_xexec = IMPLICIT_DEF
22- ; GFX11-NEXT: [[S_OR_B32_:%[0-9]+]]:sreg_32 = S_OR_B32 [[DEF]], [[DEF]] , implicit-def $scc
29+ ; GFX11-NEXT: S_CMP_LG_U32 [[DEF]], 0 , implicit-def $scc
2330 ; GFX11-NEXT: [[COPY:%[0-9]+]]:sreg_32 = COPY $scc
2431 ; GFX11-NEXT: $sgpr0 = COPY [[COPY]]
2532 ; GFX11-NEXT: S_ENDPGM 0, implicit $sgpr0
0 commit comments