Skip to content

Commit 7f97327

Browse files
committed
add test check for this simplest test case
1 parent 3e61fe4 commit 7f97327

File tree

1 file changed

+9
-2
lines changed
  • llvm/test/CodeGen/RISCV/GlobalISel/irtranslator

1 file changed

+9
-2
lines changed

llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/vec-ld.ll

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
; RUN: llc -mtriple=riscv32 -mattr=+v -global-isel -stop-after=irtranslator -verify-machineinstrs < %s | FileCheck -check-prefixes=RV32I %s
33

44
define void @vload_vint8m1(ptr %pa) {
5-
%va = load <vscale x 8 x i8>, ptr %pa
6-
ret void
5+
; RV32I-LABEL: name: vload_vint8m1
6+
; RV32I: bb.1 (%ir-block.0):
7+
; RV32I-NEXT: liveins: $x10
8+
; RV32I-NEXT: {{ $}}
9+
; RV32I-NEXT: [[COPY:%[0-9]+]]:_(p0) = COPY $x10
10+
; RV32I-NEXT: [[LOAD:%[0-9]+]]:_(<vscale x 8 x s8>) = G_LOAD [[COPY]](p0) :: (load (<vscale x 8 x s8>) from %ir.pa)
11+
; RV32I-NEXT: PseudoRET
12+
%va = load <vscale x 8 x i8>, ptr %pa, align 8
13+
ret void
714
}

0 commit comments

Comments
 (0)