1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Fix testcase

llvm-svn: 14516
This commit is contained in:
Chris Lattner 2004-07-01 04:11:35 +00:00
parent 6dd0279190
commit c135c17382

View File

@ -4,7 +4,7 @@ declare double %cos(double)
declare double %sin(double)
declare double %tan(double)
declare double %sqrt(double)
declare bool %llvm.isnan(double)
declare bool %llvm.isunordered(double, double)
double %T() {
%A = call double %cos(double 0.0)
@ -18,8 +18,8 @@ double %T() {
}
bool %TNAN() {
%A = call bool %llvm.isnan(double 0x7FF8000000000000) ;; it's a nan!
%B = call bool %llvm.isnan(double 123.0)
%A = call bool %llvm.isunordered(double 0x7FF8000000000000, double 1.0) ;; it's a nan!
%B = call bool %llvm.isunordered(double 123.0, double 1.0)
%C = or bool %A, %B
ret bool %C
}