source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/Generic/select-cc.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 372 bytes
Line 
1; RUN: llc < %s
2; PR2504
3; XFAIL: hexagon
4define <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
9}
Note: See TracBrowser for help on using the repository browser.