revert a hunk of r82018 that wasn't supposed to go in yet.
[llvm/avr.git] / test / CodeGen / Generic / select-cc.ll
blobb653e2a46dcfbe1cd430515f7a1e5fa1df109164
1 ; RUN: llc < %s
2 ; PR2504
4 define <2 x double> @vector_select(<2 x double> %x, <2 x double> %y) nounwind  {
5         %x.lo = extractelement <2 x double> %x, i32 0           ; <double> [#uses=1]
6         %x.lo.ge = fcmp oge double %x.lo, 0.000000e+00          ; <i1> [#uses=1]
7         %a.d = select i1 %x.lo.ge, <2 x double> %y, <2 x double> %x             ; <<2 x double>> [#uses=1]
8         ret <2 x double> %a.d