mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-19 01:13:25 +00:00
e59416efb8
SELECT_CC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58706 91177308-0d34-0410-b5e6-96231b3b80d8
10 lines
379 B
LLVM
10 lines
379 B
LLVM
; RUN: llvm-as < %s | llc -march=ppc32
|
|
; PR3011
|
|
|
|
define <2 x double> @vector_select(<2 x double> %x, <2 x double> %y) nounwind {
|
|
%x.lo = extractelement <2 x double> %x, i32 0 ; <double> [#uses=1]
|
|
%x.lo.ge = fcmp oge double %x.lo, 0.000000e+00 ; <i1> [#uses=1]
|
|
%a.d = select i1 %x.lo.ge, <2 x double> %y, <2 x double> %x ; <<2 x double>> [#uses=1]
|
|
ret <2 x double> %a.d
|
|
}
|