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 | bf638d2a0dd400cdd63b27b5873a818438a9be91 (patch) | |
| tree | 26575a21a49f6196d247abe0bc4242962fffe98c /llvm/test/CodeGen | |
| parent | 2bcec1297efb3cb763a4f6ae8217118e72e61e30 (diff) | |
| download | bcm5719-llvm-bf638d2a0dd400cdd63b27b5873a818438a9be91.tar.gz bcm5719-llvm-bf638d2a0dd400cdd63b27b5873a818438a9be91.zip | |
fix a missing shuffle pattern, PR9009. Patch by Artiom Myaskouvskey!
llvm-svn: 124102
Diffstat (limited to 'llvm/test/CodeGen')
| -rw-r--r-- | llvm/test/CodeGen/X86/sse2.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/sse2.ll b/llvm/test/CodeGen/X86/sse2.ll index a9d718d2df0..8fcfdff2896 100644 --- a/llvm/test/CodeGen/X86/sse2.ll +++ b/llvm/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 +} |

