[llvm-commits] [llvm] r52692 - /llvm/trunk/test/CodeGen/X86/split-select.ll

Dale Johannesen dalej at apple.com
Tue Jun 24 15:03:37 PDT 2008


Author: johannes
Date: Tue Jun 24 17:03:36 2008
New Revision: 52692

URL: http://llvm.org/viewvc/llvm-project?rev=52692&view=rev
Log:
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.


Modified:
    llvm/trunk/test/CodeGen/X86/split-select.ll

Modified: llvm/trunk/test/CodeGen/X86/split-select.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/split-select.ll?rev=52692&r1=52691&r2=52692&view=diff

==============================================================================
--- llvm/trunk/test/CodeGen/X86/split-select.ll (original)
+++ llvm/trunk/test/CodeGen/X86/split-select.ll Tue Jun 24 17:03:36 2008
@@ -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
 }





More information about the llvm-commits mailing list