diff options
author | Chris Lattner <sabre@nondot.org> | 2010-08-26 05:51:22 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-08-26 05:51:22 +0000 |
commit | 8306968c147d5861d8a53fba86ac0fbf5c050b84 (patch) | |
tree | 3d0e33e38be4af7c0cdd407f14a9bc6823115bdb /test/CodeGen/X86 | |
parent | 70e48b23a3455e4689ee24cec4eb153d67223e86 (diff) | |
download | llvm-8306968c147d5861d8a53fba86ac0fbf5c050b84.tar.gz llvm-8306968c147d5861d8a53fba86ac0fbf5c050b84.tar.bz2 llvm-8306968c147d5861d8a53fba86ac0fbf5c050b84.tar.xz |
implement SplitVecOp_CONCAT_VECTORS, fixing the included testcase with SSE1.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112171 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86')
-rw-r--r-- | test/CodeGen/X86/sse1.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/X86/sse1.ll b/test/CodeGen/X86/sse1.ll index 8ef665b755..3ab384072a 100644 --- a/test/CodeGen/X86/sse1.ll +++ b/test/CodeGen/X86/sse1.ll @@ -6,3 +6,9 @@ define <8 x i16> @test1(<8 x i32> %a) nounwind { ; CHECK: test1 ret <8 x i16> zeroinitializer } + +define <8 x i16> @test2(<8 x i32> %a) nounwind { +; CHECK: test2 + %c = trunc <8 x i32> %a to <8 x i16> ; <<8 x i16>> [#uses=1] + ret <8 x i16> %c +} |