• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -mcpu=a2q < %s | FileCheck %s
2target datalayout = "E-m:e-i64:64-n32:64"
3target triple = "powerpc64-bgq-linux"
4
5; Function Attrs: nounwind
6define void @gsl_sf_legendre_Pl_deriv_array(<4 x i32> %inp1, <4 x double> %inp2) #0 {
7entry:
8  br label %vector.body198
9
10vector.body198:                                   ; preds = %vector.body198, %for.body46.lr.ph
11  %0 = icmp ne <4 x i32> %inp1, zeroinitializer
12  %1 = select <4 x i1> %0, <4 x double> <double 5.000000e-01, double 5.000000e-01, double 5.000000e-01, double 5.000000e-01>, <4 x double> <double -5.000000e-01, double -5.000000e-01, double -5.000000e-01, double -5.000000e-01>
13  %2 = fmul <4 x double> %inp2, %1
14  %3 = fmul <4 x double> %inp2, %2
15  %4 = fmul <4 x double> %3, %inp2
16  store <4 x double> %4, <4 x double>* undef, align 8
17  br label %return
18
19; CHECK-LABEL: @gsl_sf_legendre_Pl_deriv_array
20; CHECK: qvlfiwzx
21; CHECK: qvfcfidu
22; CHECK: qvfcmpeq
23; CHECK: qvfsel
24; CHECK: qvfmul
25
26return:                                           ; preds = %if.else.i
27  ret void
28}
29
30attributes #0 = { nounwind }
31
32