Skip to content

Commit 0e44cc9

Browse files
committed
address comment
1 parent ec356f2 commit 0e44cc9

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

llvm/test/CodeGen/PowerPC/mtvsrbmi.ll

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
12
; Verify whether the generated assembly for the following function includes the mtvsrbmi instruction.
23
; vector unsigned char v00FF()
34
; {
@@ -8,7 +9,12 @@
89
; RUN: llc < %s -ppc-asm-full-reg-names -mtriple=powerpc-ibm-aix -mcpu=pwr10 -verify-machineinstrs \
910
; RUN: | FileCheck %s --check-prefix=CHECK
1011

11-
define dso_local noundef range(i8 -1, 1) <16 x i8> @_Z5v00FFv() local_unnamed_addr {
12+
define dso_local noundef range(i8 -1, 1) <16 x i8> @_Z5v00FFv() {
13+
; CHECK-LABEL: _Z5v00FFv:
14+
; CHECK: # %bb.0: # %entry
15+
; CHECK-NEXT: lwz r3, L..C0(r2) # %const.0
16+
; CHECK-NEXT: lxv vs34, 0(r3)
17+
; CHECK-NEXT: blr
1218
entry:
1319
ret <16 x i8> <i8 -1, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0>
1420
}
@@ -33,6 +39,6 @@ entry:
3339

3440
; CHECK: ._Z5v00FFv:
3541
; CHECK-NEXT: # %bb.0:
36-
; CHECK-NEXT: lwz r3, L..C0(r2)
42+
; CHECK-NEXT: lwz r3, L..C0(r2)
3743
; CHECK-NEXT: lxv vs34, 0(r3)
38-
; CHECK-NEXT: blr
44+
; CHECK-NEXT: blr

0 commit comments

Comments
 (0)