summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2016-01-16 15:13:58 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2016-01-16 15:13:58 +0000
commit48bec72db3d7413a3782d3aef2e23007ed9caa9b (patch)
tree8a5ffa04a5250d51048bf415355d83be1b00e643
parentecd07946eb607971efcc3b1eb7d9357db6905513 (diff)
downloadbcm5719-llvm-48bec72db3d7413a3782d3aef2e23007ed9caa9b.tar.gz
bcm5719-llvm-48bec72db3d7413a3782d3aef2e23007ed9caa9b.zip
[X86]AVX] Tidyup shift/splat tests
Missing comments, fixed bad word wrapping llvm-svn: 257993
-rw-r--r--llvm/test/CodeGen/X86/avx-shift.ll9
-rw-r--r--llvm/test/CodeGen/X86/avx-splat.ll1
2 files changed, 4 insertions, 6 deletions
diff --git a/llvm/test/CodeGen/X86/avx-shift.ll b/llvm/test/CodeGen/X86/avx-shift.ll
index 033a9527660..b65412d99eb 100644
--- a/llvm/test/CodeGen/X86/avx-shift.ll
+++ b/llvm/test/CodeGen/X86/avx-shift.ll
@@ -10,8 +10,7 @@ define <8 x i32> @vshift00(<8 x i32> %a) {
; CHECK-NEXT: vpslld $2, %xmm0, %xmm0
; CHECK-NEXT: vinsertf128 $1, %xmm0, %ymm1, %ymm0
; CHECK-NEXT: retq
- %s = shl <8 x i32> %a, <i32 2, i32 2, i32 2, i32 2, i32 2, i32 2, i32 2, i32
-2>
+ %s = shl <8 x i32> %a, <i32 2, i32 2, i32 2, i32 2, i32 2, i32 2, i32 2, i32 2>
ret <8 x i32> %s
}
@@ -48,8 +47,7 @@ define <8 x i32> @vshift03(<8 x i32> %a) {
; CHECK-NEXT: vpsrld $2, %xmm0, %xmm0
; CHECK-NEXT: vinsertf128 $1, %xmm0, %ymm1, %ymm0
; CHECK-NEXT: retq
- %s = lshr <8 x i32> %a, <i32 2, i32 2, i32 2, i32 2, i32 2, i32 2, i32 2, i32
-2>
+ %s = lshr <8 x i32> %a, <i32 2, i32 2, i32 2, i32 2, i32 2, i32 2, i32 2, i32 2>
ret <8 x i32> %s
}
@@ -86,8 +84,7 @@ define <8 x i32> @vshift06(<8 x i32> %a) {
; CHECK-NEXT: vpsrad $2, %xmm0, %xmm0
; CHECK-NEXT: vinsertf128 $1, %xmm0, %ymm1, %ymm0
; CHECK-NEXT: retq
- %s = ashr <8 x i32> %a, <i32 2, i32 2, i32 2, i32 2, i32 2, i32 2, i32 2, i32
-2>
+ %s = ashr <8 x i32> %a, <i32 2, i32 2, i32 2, i32 2, i32 2, i32 2, i32 2, i32 2>
ret <8 x i32> %s
}
diff --git a/llvm/test/CodeGen/X86/avx-splat.ll b/llvm/test/CodeGen/X86/avx-splat.ll
index ebaaf0e8d00..264c82ef3a2 100644
--- a/llvm/test/CodeGen/X86/avx-splat.ll
+++ b/llvm/test/CodeGen/X86/avx-splat.ll
@@ -1,3 +1,4 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mattr=+avx | FileCheck %s
define <32 x i8> @funcA(<32 x i8> %a) nounwind uwtable readnone ssp {
OpenPOWER on IntegriCloud