Add support for ISD::SELECT in SplitVectorOp.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43072 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman
2007-10-17 14:48:28 +00:00
parent f411b83c8c
commit c623096fe2
2 changed files with 27 additions and 0 deletions
+7
View File
@@ -0,0 +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
ret void
}