Skip to content

Commit 2a57a08

Browse files
committed
[PowerPC] Regenerate p8altivec-shuffles-pred.ll with update_llc_test_checks script
1 parent b2b1ee7 commit 2a57a08

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

llvm/test/CodeGen/PowerPC/p8altivec-shuffles-pred.ll

Lines changed: 10 additions & 9 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
; RUN: llc -verify-machineinstrs -ppc-disable-perfect-shuffle=false < %s | FileCheck %s
23

34
; TODO: Fix this case when disabling perfect shuffle
@@ -7,25 +8,25 @@ target triple = "powerpc64-unknown-linux-gnu"
78

89
; Function Attrs: nounwind
910
define <2 x i32> @test1(<4 x i32> %wide.vec) #0 {
11+
; CHECK-LABEL: test1:
12+
; CHECK: # %bb.0: # %entry
13+
; CHECK-NEXT: xxswapd 0, 34
14+
; CHECK-NEXT: xxmrghw 34, 34, 0
15+
; CHECK-NEXT: blr
1016
entry:
1117
%strided.vec = shufflevector <4 x i32> %wide.vec, <4 x i32> undef, <2 x i32> <i32 0, i32 2>
1218
ret <2 x i32> %strided.vec
13-
14-
; CHECK-LABEL: @test1
15-
; CHECK: xxswapd 0, 34
16-
; CHECK: xxmrghw 34, 34, 0
17-
; CHECK: blr
1819
}
1920

2021
; Function Attrs: nounwind
2122
define <16 x i8> @test2(<16 x i8> %wide.vec) #0 {
23+
; CHECK-LABEL: test2:
24+
; CHECK: # %bb.0: # %entry
25+
; CHECK-NEXT: xxsldwi 34, 34, 34, 3
26+
; CHECK-NEXT: blr
2227
entry:
2328
%strided.vec = shufflevector <16 x i8> %wide.vec, <16 x i8> undef, <16 x i32> <i32 undef, i32 undef, i32 undef, i32 undef, i32 0, i32 1, i32 2, i32 3, i32 undef, i32 undef, i32 undef, i32 undef, i32 8, i32 9, i32 10, i32 11>
2429
ret <16 x i8> %strided.vec
25-
26-
; CHECK-LABEL: @test2
27-
; CHECK: xxsldwi 34, 34, 34, 3
28-
; CHECK: blr
2930
}
3031

3132
attributes #0 = { nounwind "target-cpu"="pwr7" }

0 commit comments

Comments
 (0)