summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2007-05-17-ShuffleISelBug.ll
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2009-11-06 00:11:57 +0000
committerEric Christopher <echristo@apple.com>2009-11-06 00:11:57 +0000
commitef1fad533ebc1a692321e96443a35ca5407c26cb (patch)
treef5193eef8fe02f8c616585e0d52cd55156ce0b12 /test/CodeGen/X86/2007-05-17-ShuffleISelBug.ll
parent40c57860dad429d3c938ed5f918c2c66f3b5fa72 (diff)
downloadllvm-ef1fad533ebc1a692321e96443a35ca5407c26cb.tar.gz
llvm-ef1fad533ebc1a692321e96443a35ca5407c26cb.tar.bz2
llvm-ef1fad533ebc1a692321e96443a35ca5407c26cb.tar.xz
Fix PR5315, original patch by Nicolas Capens!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86203 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2007-05-17-ShuffleISelBug.ll')
-rw-r--r--test/CodeGen/X86/2007-05-17-ShuffleISelBug.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/X86/2007-05-17-ShuffleISelBug.ll b/test/CodeGen/X86/2007-05-17-ShuffleISelBug.ll
index 989dfc5bdb..b27ef83696 100644
--- a/test/CodeGen/X86/2007-05-17-ShuffleISelBug.ll
+++ b/test/CodeGen/X86/2007-05-17-ShuffleISelBug.ll
@@ -1,7 +1,7 @@
; RUN: llc < %s -march=x86 -mattr=+sse2
; RUN: llc < %s -march=x86 -mattr=+sse2 | not grep punpckhwd
-declare <8 x i16> @llvm.x86.sse2.packuswb.128(<8 x i16>, <8 x i16>)
+declare <16 x i8> @llvm.x86.sse2.packuswb.128(<8 x i16>, <8 x i16>)
declare <8 x i16> @llvm.x86.sse2.psrl.w(<8 x i16>, <8 x i16>)
@@ -13,8 +13,8 @@ define fastcc void @test(i32* %src, i32 %sbpr, i32* %dst, i32 %dbpr, i32 %w, i32
%tmp805 = add <4 x i32> %tmp777, zeroinitializer
%tmp832 = bitcast <4 x i32> %tmp805 to <8 x i16>
%tmp838 = tail call <8 x i16> @llvm.x86.sse2.psrl.w( <8 x i16> %tmp832, <8 x i16> < i16 8, i16 undef, i16 undef, i16 undef, i16 undef, i16 undef, i16 undef, i16 undef > )
- %tmp1020 = tail call <8 x i16> @llvm.x86.sse2.packuswb.128( <8 x i16> zeroinitializer, <8 x i16> %tmp838 )
- %tmp1030 = bitcast <8 x i16> %tmp1020 to <4 x i32>
+ %tmp1020 = tail call <16 x i8> @llvm.x86.sse2.packuswb.128( <8 x i16> zeroinitializer, <8 x i16> %tmp838 )
+ %tmp1030 = bitcast <16 x i8> %tmp1020 to <4 x i32>
%tmp1033 = add <4 x i32> zeroinitializer, %tmp1030
%tmp1048 = bitcast <4 x i32> %tmp1033 to <2 x i64>
%tmp1049 = or <2 x i64> %tmp1048, zeroinitializer