From 48bec72db3d7413a3782d3aef2e23007ed9caa9b Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Sat, 16 Jan 2016 15:13:58 +0000 Subject: [PATCH] [X86]AVX] Tidyup shift/splat tests Missing comments, fixed bad word wrapping llvm-svn: 257993 --- llvm/test/CodeGen/X86/avx-shift.ll | 9 +++------ llvm/test/CodeGen/X86/avx-splat.ll | 1 + 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 033a95276608..b65412d99eb4 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, + %s = shl <8 x i32> %a, 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, + %s = lshr <8 x i32> %a, 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, + %s = ashr <8 x i32> %a, ret <8 x i32> %s } diff --git a/llvm/test/CodeGen/X86/avx-splat.ll b/llvm/test/CodeGen/X86/avx-splat.ll index ebaaf0e8d00d..264c82ef3a2f 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 {