From c623096fe227a7705ccac5a5db514b64ccdfe6b2 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 17 Oct 2007 14:48:28 +0000 Subject: Add support for ISD::SELECT in SplitVectorOp. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43072 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/split-select.ll | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/CodeGen/X86/split-select.ll (limited to 'test/CodeGen') diff --git a/test/CodeGen/X86/split-select.ll b/test/CodeGen/X86/split-select.ll new file mode 100644 index 0000000000..6e2f6e665d --- /dev/null +++ b/test/CodeGen/X86/split-select.ll @@ -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 +} -- cgit v1.2.3-70-g09d2