1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

v2f32 is now a valid (MMX) type which breaks this

test (doesn't work for any MMX vector types, it's
not me).  Rewritten to use v2i16 which is generic
and going to stay that way; I think that preserves
the point of the test.

llvm-svn: 52692
This commit is contained in:
Dale Johannesen 2008-06-24 22:03:36 +00:00
parent fdf8fe6c03
commit 244433ebb1

View File

@ -1,7 +1,7 @@
; RUN: llvm-as < %s | llc -march=x86-64 | grep test | count 1 ; RUN: llvm-as < %s | llc -march=x86-64 | grep test | count 1
define void @foo(i1 %c, <2 x float> %a, <2 x float> %b, <2 x float>* %p) { define void @foo(i1 %c, <2 x i16> %a, <2 x i16> %b, <2 x i16>* %p) {
%x = select i1 %c, <2 x float> %a, <2 x float> %b %x = select i1 %c, <2 x i16> %a, <2 x i16> %b
store <2 x float> %x, <2 x float>* %p store <2 x i16> %x, <2 x i16>* %p
ret void ret void
} }