1 ; RUN: opt < %s -constprop -S | not grep call
3 declare double @cos(double)
5 declare double @sin(double)
7 declare double @tan(double)
9 declare double @sqrt(double)
11 declare i1 @llvm.isunordered.f64(double, double)
14 %A = call double @cos( double 0.000000e+00 ) ; <double> [#uses=1]
15 %B = call double @sin( double 0.000000e+00 ) ; <double> [#uses=1]
16 %a = fadd double %A, %B ; <double> [#uses=1]
17 %C = call double @tan( double 0.000000e+00 ) ; <double> [#uses=1]
18 %b = fadd double %a, %C ; <double> [#uses=1]
19 %D = call double @sqrt( double 4.000000e+00 ) ; <double> [#uses=1]
20 %c = fadd double %b, %D ; <double> [#uses=1]
25 %A = fcmp uno double 0x7FF8000000000000, 1.000000e+00 ; <i1> [#uses=1]
26 %B = fcmp uno double 1.230000e+02, 1.000000e+00 ; <i1> [#uses=1]
27 %C = or i1 %A, %B ; <i1> [#uses=1]