Re-implement the main strength-reduction portion of LoopStrengthReduction.
[oota-llvm.git] / test / CodeGen / X86 / split-select.ll
1 ; RUN: llc < %s -march=x86-64 | grep test | count 1
2
3 define void @foo(i1 %c, <2 x i16> %a, <2 x i16> %b, <2 x i16>* %p) {
4   %x = select i1 %c, <2 x i16> %a, <2 x i16> %b
5   store <2 x i16> %x, <2 x i16>* %p
6   ret void
7 }