1 ; RUN: llc -verify-machineinstrs < %s | FileCheck %s
2 target datalayout = "E-m:e-i64:64-n32:64"
3 target triple = "powerpc64-unknown-linux-gnu"
5 ; Function Attrs: nounwind
6 define void @LSH_recall_init(float %d_min, float %W) #0 {
8 br i1 undef, label %for.body.lr.ph, label %for.end
10 ; CHECK-LABEL: @LSH_recall_init
13 for.body.lr.ph: ; preds = %entry
14 %conv3 = fpext float %W to double
17 for.body: ; preds = %for.body, %for.body.lr.ph
18 %div = fdiv fast float 0.000000e+00, 0.000000e+00
19 %add = fadd fast float %div, %d_min
20 %conv2 = fpext float %add to double
21 %0 = tail call double @llvm.sqrt.f64(double %conv2)
22 %div4 = fdiv fast double %conv3, %0
23 %call = tail call signext i32 bitcast (i32 (...)* @p_col_helper to i32 (double)*)(double %div4) #2
26 for.end: ; preds = %entry
30 ; Function Attrs: nounwind readnone
31 declare double @llvm.sqrt.f64(double) #1
33 declare signext i32 @p_col_helper(...) #2
35 attributes #0 = { nounwind "no-infs-fp-math"="true" "no-nans-fp-math"="true" "target-cpu"="pwr7" "unsafe-fp-math"="true" }
36 attributes #1 = { nounwind readnone }
37 attributes #2 = { nounwind }