summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/sse1.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-08-26 05:24:29 +0000
committerChris Lattner <sabre@nondot.org>2010-08-26 05:24:29 +0000
commit97a2a56f433b35ab60431e7681cf1b5c97c71529 (patch)
tree5a1e679e916c877c72a203bcda1fb81fc874e471 /test/CodeGen/X86/sse1.ll
parent076137c424bfae2c28e45121b1468397a7d2712a (diff)
downloadllvm-97a2a56f433b35ab60431e7681cf1b5c97c71529.tar.gz
llvm-97a2a56f433b35ab60431e7681cf1b5c97c71529.tar.bz2
llvm-97a2a56f433b35ab60431e7681cf1b5c97c71529.tar.xz
fix sse1 only codegen in x86-64 mode, which is something we
apparently try to support. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112168 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/sse1.ll')
-rw-r--r--test/CodeGen/X86/sse1.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/X86/sse1.ll b/test/CodeGen/X86/sse1.ll
new file mode 100644
index 0000000000..2c1acb6273
--- /dev/null
+++ b/test/CodeGen/X86/sse1.ll
@@ -0,0 +1,7 @@
+; Tests for SSE1 and below, without SSE2+.
+; RUN: llc < %s -mcpu=pentium3 -O3 | FileCheck %s
+
+define <8 x i16> @test1(<8 x i32> %a) nounwind {
+; CHECK: test1
+ ret <8 x i16> zeroinitializer
+}