llvm-6502/test/CodeGen/X86/split-select.ll
2009-09-08 23:54:48 +00:00

8 lines
219 B
LLVM

; RUN: llc < %s -march=x86-64 | grep test | count 1
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
}