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

Tree @release_26 (Download .tar.gz)

split-select.ll @release_26raw · 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 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
}