Home | History | Annotate | Download | only in ARM
      1 ; RUN: llc < %s -march=arm | FileCheck %s
      2 
      3 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
      4 target triple = "i386-apple-darwin8"
      5 
      6 ; Without CSE of libcalls, there are two calls in the output instead of one.
      7 
      8 ; CHECK: bl ___ltdf
      9 ; CHECK-NOT: bl ___ltdf
     10 
     11 define double @u_f_nonbon(double %lambda) nounwind {
     12 entry:
     13 	%tmp19.i.i = load double, double* null, align 4		; <double> [#uses=2]
     14 	%tmp6.i = fcmp olt double %tmp19.i.i, 1.000000e+00		; <i1> [#uses=1]
     15 	%dielectric.0.i = select i1 %tmp6.i, double 1.000000e+00, double %tmp19.i.i		; <double> [#uses=1]
     16 	%tmp10.i4 = fdiv double 0x4074C2D71F36262D, %dielectric.0.i		; <double> [#uses=1]
     17 	br i1 false, label %bb28.i, label %bb508.i
     18 
     19 bb28.i:		; preds = %bb28.i, %entry
     20 	br i1 false, label %bb502.loopexit.i, label %bb28.i
     21 
     22 bb.nph53.i:		; preds = %bb502.loopexit.i
     23 	%tmp354.i = fsub double -0.000000e+00, %tmp10.i4		; <double> [#uses=0]
     24 	br label %bb244.i
     25 
     26 bb244.i:		; preds = %bb244.i, %bb.nph53.i
     27 	br label %bb244.i
     28 
     29 bb502.loopexit.i:		; preds = %bb28.i
     30 	br i1 false, label %bb.nph53.i, label %bb508.i
     31 
     32 bb508.i:		; preds = %bb502.loopexit.i, %entry
     33 	ret double %tmp10.i4
     34 }
     35