llvm.org GIT mirror llvm / 5eace78
Oops. A little aggressive on the name changes there. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36029 91177308-0d34-0410-b5e6-96231b3b80d8 Reid Spencer 12 years ago
1 changed file(s) with 8 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: llvm-upgrade < %s | llvm-as | opt -constprop | llvm-dis | not grep call
11
2 declare double %cos.f64(double)
3 declare double %sin.f64(double)
4 declare double %tan.f64(double)
5 declare double %sqrt.f64(double)
2 declare double %cos(double)
3 declare double %sin(double)
4 declare double %tan(double)
5 declare double %sqrt(double)
66 declare bool %llvm.isunordered.f64(double, double)
77
88 double %T() {
9 %A = call double %cos.f64(double 0.0)
10 %B = call double %sin.f64(double 0.0)
9 %A = call double %cos(double 0.0)
10 %B = call double %sin(double 0.0)
1111 %a = add double %A, %B
12 %C = call double %tan.f64(double 0.0)
12 %C = call double %tan(double 0.0)
1313 %b = add double %a, %C
14 %D = call double %sqrt.f64(double 4.0)
14 %D = call double %sqrt(double 4.0)
1515 %c = add double %b, %D
1616 ret double %c
1717 }