summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/vec_insert-4.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-23 04:33:02 +0000
committerChris Lattner <sabre@nondot.org>2009-07-23 04:33:02 +0000
commit5fe2b03779908eab307488727d1b1a37128d7caa (patch)
treef3e0a7fe46d7e81c1e61590fc410ea80aae6cec8 /test/CodeGen/X86/vec_insert-4.ll
parent1e5cdea9d7d8db6ffd6c97cf31e0e9e2765bfd5e (diff)
downloadllvm-5fe2b03779908eab307488727d1b1a37128d7caa.tar.gz
llvm-5fe2b03779908eab307488727d1b1a37128d7caa.tar.bz2
llvm-5fe2b03779908eab307488727d1b1a37128d7caa.tar.xz
change a test to run in filecheck style. Rename it to be a general
dumping ground of various SSE4.1 tests, since filecheck can reasonably handle them all in one file. Generalize it to check x86-64 stuff as well since it has a different ABI (a convenient way to test both the reg and mem forms of these instructions). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76848 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/vec_insert-4.ll')
-rw-r--r--test/CodeGen/X86/vec_insert-4.ll12
1 files changed, 0 insertions, 12 deletions
diff --git a/test/CodeGen/X86/vec_insert-4.ll b/test/CodeGen/X86/vec_insert-4.ll
deleted file mode 100644
index 29c3040394..0000000000
--- a/test/CodeGen/X86/vec_insert-4.ll
+++ /dev/null
@@ -1,12 +0,0 @@
-; RUN: llvm-as < %s | llc -march=x86 -mattr=sse41 | grep pinsrd | count 1
-; RUN: llvm-as < %s | llc -march=x86 -mattr=sse41 | grep pinsrb | count 1
-
-define <4 x i32> @t1(i32 %s, <4 x i32> %tmp) nounwind {
- %tmp1 = insertelement <4 x i32> %tmp, i32 %s, i32 1
- ret <4 x i32> %tmp1
-}
-
-define <16 x i8> @t2(i8 %s, <16 x i8> %tmp) nounwind {
- %tmp1 = insertelement <16 x i8> %tmp, i8 %s, i32 1
- ret <16 x i8> %tmp1
-}