llvm.org GIT mirror llvm / 635b83f
Fix testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14516 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 15 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
33 declare double %sin(double)
44 declare double %tan(double)
55 declare double %sqrt(double)
6 declare bool %llvm.isnan(double)
6 declare bool %llvm.isunordered(double, double)
77
88 double %T() {
99 %A = call double %cos(double 0.0)
1717 }
1818
1919 bool %TNAN() {
20 %A = call bool %llvm.isnan(double 0x7FF8000000000000) ;; it's a nan!
21 %B = call bool %llvm.isnan(double 123.0)
20 %A = call bool %llvm.isunordered(double 0x7FF8000000000000, double 1.0) ;; it's a nan!
21 %B = call bool %llvm.isunordered(double 123.0, double 1.0)
2222 %C = or bool %A, %B
2323 ret bool %C
2424 }