[ARM] Enable shrink-wrapping by default.
[oota-llvm.git] / test / CodeGen / ARM / cse-libcalls.ll
index 1d011be93c3c09b1b299cb4b53c9895fe8c4cb23..1255ec5a78f13cac57b4878d02b9fc87281129b6 100644 (file)
@@ -1,12 +1,16 @@
-; RUN: llc < %s -march=arm | grep {bl.\*__ltdf} | count 1
+; RUN: llc < %s -march=arm | FileCheck %s
+
 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"
 target triple = "i386-apple-darwin8"
 
 ; Without CSE of libcalls, there are two calls in the output instead of one.
 
+; CHECK: bl ___ltdf
+; CHECK-NOT: bl ___ltdf
+
 define double @u_f_nonbon(double %lambda) nounwind {
 entry:
-       %tmp19.i.i = load double* null, align 4         ; <double> [#uses=2]
+       %tmp19.i.i = load double, double* null, align 4         ; <double> [#uses=2]
        %tmp6.i = fcmp olt double %tmp19.i.i, 1.000000e+00              ; <i1> [#uses=1]
        %dielectric.0.i = select i1 %tmp6.i, double 1.000000e+00, double %tmp19.i.i             ; <double> [#uses=1]
        %tmp10.i4 = fdiv double 0x4074C2D71F36262D, %dielectric.0.i             ; <double> [#uses=1]