Skip to content

Commit 753ac47

Browse files
authored
[RISCV][test] Add missing check-prefix to a test (NFC) (#93683)
1 parent 886d316 commit 753ac47

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-abs-rv32.mir

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
22
# RUN: llc -mtriple=riscv32 -run-pass=legalizer %s -o - \
3-
# RUN: | FileCheck %s --check-prefix=RV32I
3+
# RUN: | FileCheck %s --check-prefixes=CHECK,RV32I
44
# RUN: llc -mtriple=riscv32 -mattr=+zbb -run-pass=legalizer %s -o -\
5-
# RUN: | FileCheck %s --check-prefix=RV32ZBB
5+
# RUN: | FileCheck %s --check-prefixes=CHECK,RV32ZBB
66

77
---
88
name: abs_i8
@@ -124,10 +124,12 @@ body: |
124124
; CHECK-NEXT: [[ASHR1:%[0-9]+]]:_(s32) = G_ASHR [[COPY1]], [[C1]](s32)
125125
; CHECK-NEXT: [[ADD:%[0-9]+]]:_(s32) = G_ADD [[COPY]], [[ASHR]]
126126
; CHECK-NEXT: [[ICMP:%[0-9]+]]:_(s32) = G_ICMP intpred(ult), [[ADD]](s32), [[ASHR]]
127+
; CHECK-NEXT: [[COPY2:%[0-9]+]]:_(s32) = COPY [[ADD]](s32)
127128
; CHECK-NEXT: [[ADD1:%[0-9]+]]:_(s32) = G_ADD [[COPY1]], [[ASHR1]]
128129
; CHECK-NEXT: [[ADD2:%[0-9]+]]:_(s32) = G_ADD [[ADD1]], [[ICMP]]
129-
; CHECK-NEXT: [[XOR:%[0-9]+]]:_(s32) = G_XOR [[ADD]], [[ASHR]]
130-
; CHECK-NEXT: [[XOR1:%[0-9]+]]:_(s32) = G_XOR [[ADD2]], [[ASHR1]]
130+
; CHECK-NEXT: [[COPY3:%[0-9]+]]:_(s32) = COPY [[ADD2]](s32)
131+
; CHECK-NEXT: [[XOR:%[0-9]+]]:_(s32) = G_XOR [[COPY2]], [[ASHR]]
132+
; CHECK-NEXT: [[XOR1:%[0-9]+]]:_(s32) = G_XOR [[COPY3]], [[ASHR1]]
131133
; CHECK-NEXT: $x10 = COPY [[XOR]](s32)
132134
; CHECK-NEXT: $x11 = COPY [[XOR1]](s32)
133135
; CHECK-NEXT: PseudoRET implicit $x10, implicit $x11

0 commit comments

Comments
 (0)