Hal Finkel | 8f7c5a7 | 2015-03-23 08:22:43 +0000 | [diff] [blame] | 1 | ; RUN: llc -mcpu=a2q < %s | FileCheck %s |
| 2 | target datalayout = "E-m:e-i64:64-n32:64" |
| 3 | target triple = "powerpc64-bgq-linux" |
| 4 | |
| 5 | ; Function Attrs: nounwind |
| 6 | define void @gsl_sf_legendre_Pl_deriv_array() #0 { |
| 7 | entry: |
| 8 | br i1 undef, label %do.body.i, label %if.else.i |
| 9 | |
| 10 | do.body.i: ; preds = %entry |
| 11 | unreachable |
| 12 | |
| 13 | if.else.i: ; preds = %entry |
| 14 | br i1 undef, label %return, label %for.body46.lr.ph |
| 15 | |
| 16 | for.body46.lr.ph: ; preds = %if.else.i |
| 17 | br label %vector.body198 |
| 18 | |
| 19 | vector.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 | |
| 35 | return: ; preds = %if.else.i |
| 36 | ret void |
| 37 | } |
| 38 | |
| 39 | attributes #0 = { nounwind } |
| 40 | |