[llvm-commits] CVS: llvm/test/Regression/Jello/test-fp.ll

Chris Lattner lattner at cs.uiuc.edu
Sun Jan 12 18:58:01 PST 2003


Changes in directory llvm/test/Regression/Jello:

test-fp.ll updated: 1.2 -> 1.3

---
Log message:

add div test as well


---
Diffs of the changes:

Index: llvm/test/Regression/Jello/test-fp.ll
diff -u llvm/test/Regression/Jello/test-fp.ll:1.2 llvm/test/Regression/Jello/test-fp.ll:1.3
--- llvm/test/Regression/Jello/test-fp.ll:1.2	Sat Dec 28 14:00:47 2002
+++ llvm/test/Regression/Jello/test-fp.ll	Sun Jan 12 18:56:54 2003
@@ -6,13 +6,15 @@
 	%X = mul double %W, %W
 	%Y = div double %X, %X
 	%Z = rem double %Y, %Y
+	%Z = div double %Z, %W
 	%Q = add double %Z, %Arg
-	store double %Q, double* %DP
+	%R = cast double %Q to double
+	store double %R, double* %DP
 	ret double %Z
 }
 
 int %main() { 
   %X = alloca double
-  call double %test(double* %X, double 1.0)
+  call double %test(double* %X, double 2.0)
   ret int 0 
 }





More information about the llvm-commits mailing list