diff options
author | Chris Lattner <sabre@nondot.org> | 2011-01-24 03:42:46 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-01-24 03:42:46 +0000 |
commit | ccea167db53f52b2cda639cd184655b86dbf3952 (patch) | |
tree | c6f755580228f676dfca4f8c57c3662272faa8ae /test | |
parent | 850bdd2fcccfe40b7f8c4d0f694eb461bd975891 (diff) | |
download | external_llvm-ccea167db53f52b2cda639cd184655b86dbf3952.zip external_llvm-ccea167db53f52b2cda639cd184655b86dbf3952.tar.gz external_llvm-ccea167db53f52b2cda639cd184655b86dbf3952.tar.bz2 |
fix a missing shuffle pattern, PR9009. Patch by Artiom Myaskouvskey!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124102 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/X86/sse2.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/X86/sse2.ll b/test/CodeGen/X86/sse2.ll index a9d718d..8fcfdff 100644 --- a/test/CodeGen/X86/sse2.ll +++ b/test/CodeGen/X86/sse2.ll @@ -205,3 +205,12 @@ define <2 x double> @test16(<4 x double> * nocapture %srcA, <2 x double>* nocap ret <2 x double> %i7 } +; PR9009 +define fastcc void @test17() nounwind { +entry: + %0 = insertelement <4 x i32> undef, i32 undef, i32 1 + %1 = shufflevector <4 x i32> <i32 undef, i32 undef, i32 32768, i32 32768>, <4 x i32> %0, <4 x i32> <i32 4, i32 5, i32 2, i32 3> + %2 = bitcast <4 x i32> %1 to <4 x float> + store <4 x float> %2, <4 x float> * undef + ret void +} |