v2f32 is now a valid (MMX) type which breaks this
authorDale Johannesen <dalej@apple.com>
Tue, 24 Jun 2008 22:03:36 +0000 (22:03 +0000)
committerDale Johannesen <dalej@apple.com>
Tue, 24 Jun 2008 22:03:36 +0000 (22:03 +0000)
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

test/CodeGen/X86/split-select.ll

index 6e2f6e665deb7d2b15a2aa220da2807366112301..0b7804da4e714d745a3beceb81595a421b1f1002 100644 (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
 }