blob: c8cef0faeaa419bfb16edec112fd313dc6f9036c [file] [log] [blame]
Hal Finkel8f7c5a72015-03-23 08:22:43 +00001; 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() #0 {
7entry:
8 br i1 undef, label %do.body.i, label %if.else.i
9
10do.body.i: ; preds = %entry
11 unreachable
12
13if.else.i: ; preds = %entry
14 br i1 undef, label %return, label %for.body46.lr.ph
15
16for.body46.lr.ph: ; preds = %if.else.i
17 br label %vector.body198
18
19vector.body198: ; preds = %vector.body198, %for.body46.lr.ph
20 %0 = icmp ne <4 x i32> undef, zeroinitializer
21 %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>
22 %2 = fmul <4 x double> undef, %1
23 %3 = fmul <4 x double> undef, %2
24 %4 = fmul <4 x double> %3, undef
25 store <4 x double> %4, <4 x double>* undef, align 8
26 br label %vector.body198
27
28; CHECK-LABEL: @gsl_sf_legendre_Pl_deriv_array
29; CHECK: qvlfiwzx
30; CHECK: qvfcfidu
31; CHECK: qvfcmpeq
32; CHECK: qvfsel
33; CHECK: qvfmul
34
35return: ; preds = %if.else.i
36 ret void
37}
38
39attributes #0 = { nounwind }
40