mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-25 20:59:51 +00:00
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
This commit is contained in:
parent
7c162645ae
commit
5eace78caa
@ -1,18 +1,18 @@
|
||||
; RUN: llvm-upgrade < %s | llvm-as | opt -constprop | llvm-dis | not grep call
|
||||
|
||||
declare double %cos.f64(double)
|
||||
declare double %sin.f64(double)
|
||||
declare double %tan.f64(double)
|
||||
declare double %sqrt.f64(double)
|
||||
declare double %cos(double)
|
||||
declare double %sin(double)
|
||||
declare double %tan(double)
|
||||
declare double %sqrt(double)
|
||||
declare bool %llvm.isunordered.f64(double, double)
|
||||
|
||||
double %T() {
|
||||
%A = call double %cos.f64(double 0.0)
|
||||
%B = call double %sin.f64(double 0.0)
|
||||
%A = call double %cos(double 0.0)
|
||||
%B = call double %sin(double 0.0)
|
||||
%a = add double %A, %B
|
||||
%C = call double %tan.f64(double 0.0)
|
||||
%C = call double %tan(double 0.0)
|
||||
%b = add double %a, %C
|
||||
%D = call double %sqrt.f64(double 4.0)
|
||||
%D = call double %sqrt(double 4.0)
|
||||
%c = add double %b, %D
|
||||
ret double %c
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user