From ccea167db53f52b2cda639cd184655b86dbf3952 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 24 Jan 2011 03:42:46 +0000 Subject: 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 --- test/CodeGen/X86/sse2.ll | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'test/CodeGen/X86/sse2.ll') 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> , <4 x i32> %0, <4 x i32> + %2 = bitcast <4 x i32> %1 to <4 x float> + store <4 x float> %2, <4 x float> * undef + ret void +} -- cgit v1.1