Skip to content

Commit d027b65

Browse files
committed
Change tests to avoid the impression that the carry-in def will be rewritten to VOPC
1 parent e943523 commit d027b65

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

llvm/test/CodeGen/AMDGPU/sdwa-peephole-cndmask-vop3-wave32.mir

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
# RUN: llc %s -mtriple=amdgcn -mcpu=gfx1030 -run-pass=si-peephole-sdwa -o - | FileCheck %s
33

44
---
5-
name: change-compare-to-vopc # carry-in def is a comparison that can be changed to VOPC
5+
name: change-compare-dest-to-vcc # carry-in def is a comparison that can write to VCC
66
tracksRegLiveness: true
77
body: |
88
bb.0:
99
liveins: $vgpr0
1010
11-
; CHECK-LABEL: name: change-compare-to-vopc
11+
; CHECK-LABEL: name: change-compare-dest-to-vcc
1212
; CHECK: liveins: $vgpr0
1313
; CHECK-NEXT: {{ $}}
1414
; CHECK-NEXT: [[DEF:%[0-9]+]]:sreg_32_xm0_xexec = IMPLICIT_DEF
@@ -29,13 +29,13 @@ body: |
2929
...
3030

3131
---
32-
name: change-compare-class-to-vopc # check that non-compare instr V_CMP_CLASS is also handled
32+
name: change-compare-class-dest-to-vcc # check that non-compare instr V_CMP_CLASS is also handled
3333
tracksRegLiveness: true
3434
body: |
3535
bb.0:
3636
liveins: $vgpr0
3737
38-
; CHECK-LABEL: name: change-compare-class-to-vopc
38+
; CHECK-LABEL: name: change-compare-class-dest-to-vcc
3939
; CHECK: liveins: $vgpr0
4040
; CHECK-NEXT: {{ $}}
4141
; CHECK-NEXT: [[DEF:%[0-9]+]]:sreg_32_xm0_xexec = IMPLICIT_DEF

llvm/test/CodeGen/AMDGPU/sdwa-peephole-cndmask-vop3-wave64.mir

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
# RUN: llc %s -mtriple=amdgcn -mcpu=gfx900 -run-pass=si-peephole-sdwa -o - | FileCheck %s
33

44
---
5-
name: change-compare-to-vopc # carry-in def is a comparison that can be changed to VOPC
5+
name: change-compare-dest-to-vcc # carry-in def is a comparison that can write to VCC
66
tracksRegLiveness: true
77
body: |
88
bb.0:
99
liveins: $vgpr0
1010
11-
; CHECK-LABEL: name: change-compare-to-vopc
11+
; CHECK-LABEL: name: change-compare-dest-to-vcc
1212
; CHECK: liveins: $vgpr0
1313
; CHECK-NEXT: {{ $}}
1414
; CHECK-NEXT: [[DEF:%[0-9]+]]:vgpr_32 = IMPLICIT_DEF
@@ -29,13 +29,13 @@ body: |
2929
...
3030

3131
---
32-
name: change-compare-class-to-vopc # check that non-compare instr V_CMP_CLASS is also handled
32+
name: change-compare-class-dest-to-vcc # check that non-compare instr V_CMP_CLASS is also handled
3333
tracksRegLiveness: true
3434
body: |
3535
bb.0:
3636
liveins: $vgpr0
3737
38-
; CHECK-LABEL: name: change-compare-class-to-vopc
38+
; CHECK-LABEL: name: change-compare-class-dest-to-vcc
3939
; CHECK: liveins: $vgpr0
4040
; CHECK-NEXT: {{ $}}
4141
; CHECK-NEXT: [[DEF:%[0-9]+]]:sreg_32_xm0_xexec = IMPLICIT_DEF

0 commit comments

Comments
 (0)