Make PrintReg constructor explicit to prevent weird implicit conversions from acciden...
[oota-llvm.git] / test / CodeGen / X86 / sse2-blend.ll
1 ; RUN: llc < %s -march=x86 -mcpu=yonah -mattr=+sse2,-sse41 | FileCheck %s
2
3 ; Without forcing instructions, fall back to the preferred PS domain.
4 ; CHECK: vsel_double
5 ; CHECK: xorps
6 ; CHECK: andps
7 ; CHECK: andnps
8 ; CHECK: orps
9 ; CHECK: ret
10
11 define void@vsel_double(<4 x double>* %v1, <4 x double>* %v2) {
12   %A = load <4 x double>* %v1
13   %B = load <4 x double>* %v2
14   %vsel = select <4 x i1> <i1 true, i1 false, i1 false, i1 false>, <4 x double> %A, <4 x double> %B
15   store <4 x double > %vsel, <4 x double>* %v1
16   ret void
17 }
18
19