llvm.org GIT mirror llvm / 0a6ee6d test / CodeGen / X86 / split-select.ll
0a6ee6d

Tree @0a6ee6d (Download .tar.gz)

split-select.ll @0a6ee6draw · history · blame

1
2
3
4
5
6
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
}