From 8fe3a6bda46d5f36a409d5203f05ea8e99602eee Mon Sep 17 00:00:00 2001 From: Michael Liao Date: Thu, 25 Oct 2012 17:50:05 +0000 Subject: Add test for ATOM ISA SSSE3 - Remove SSE4.1 feature in other ATOM-based test cases llvm-svn: 166699 --- llvm/test/CodeGen/X86/atom-shuf.ll | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 llvm/test/CodeGen/X86/atom-shuf.ll (limited to 'llvm/test/CodeGen/X86/atom-shuf.ll') diff --git a/llvm/test/CodeGen/X86/atom-shuf.ll b/llvm/test/CodeGen/X86/atom-shuf.ll new file mode 100644 index 00000000000..4c3f2f67c54 --- /dev/null +++ b/llvm/test/CodeGen/X86/atom-shuf.ll @@ -0,0 +1,9 @@ +; RUN: llc < %s -mtriple=x86_64-linux-pc -mcpu=atom | FileCheck %s + +define <16 x i8> @foo(<16 x i8> %in) { + %r = shufflevector <16 x i8> %in, <16 x i8> undef, <16 x i32> < i32 7, i32 3, i32 2, i32 11, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef> + ret <16 x i8> %r +; CHECK: foo +; CHECK: pshufb +; CHECK-NEXT: ret +} -- cgit v1.2.3