[llvm-commits] CVS: llvm/test/Regression/Transforms/ConstProp/calls.ll

Chris Lattner lattner at cs.uiuc.edu
Wed Jun 30 23:12:00 PDT 2004


Changes in directory llvm/test/Regression/Transforms/ConstProp:

calls.ll updated: 1.2 -> 1.3

---
Log message:

Fix testcase


---
Diffs of the changes:  (+3 -3)

Index: llvm/test/Regression/Transforms/ConstProp/calls.ll
diff -u llvm/test/Regression/Transforms/ConstProp/calls.ll:1.2 llvm/test/Regression/Transforms/ConstProp/calls.ll:1.3
--- llvm/test/Regression/Transforms/ConstProp/calls.ll:1.2	Fri Jun 11 01:16:13 2004
+++ llvm/test/Regression/Transforms/ConstProp/calls.ll	Wed Jun 30 23:11:35 2004
@@ -4,7 +4,7 @@
 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 @@
 }
 
 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
 }





More information about the llvm-commits mailing list