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.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52692 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dale Johannesen 2008-06-24 22:03:36 +00:00
parent a68f9013f2
commit 4a103e6d7e

View File

@ -1,7 +1,7 @@
; 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) {
%x = select i1 %c, <2 x float> %a, <2 x float> %b
store <2 x float> %x, <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 i16> %a, <2 x i16> %b
store <2 x i16> %x, <2 x i16>* %p
ret void
}