diff options
author | Chris Lattner <sabre@nondot.org> | 2010-08-26 05:24:29 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-08-26 05:24:29 +0000 |
commit | 97a2a56f433b35ab60431e7681cf1b5c97c71529 (patch) | |
tree | 5a1e679e916c877c72a203bcda1fb81fc874e471 /test | |
parent | 076137c424bfae2c28e45121b1468397a7d2712a (diff) | |
download | external_llvm-97a2a56f433b35ab60431e7681cf1b5c97c71529.zip external_llvm-97a2a56f433b35ab60431e7681cf1b5c97c71529.tar.gz external_llvm-97a2a56f433b35ab60431e7681cf1b5c97c71529.tar.bz2 |
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')
-rw-r--r-- | test/CodeGen/X86/sse1.ll | 7 |
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 0000000..2c1acb6 --- /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 +} |