[llvm-commits] CVS: llvm/test/Regression/CodeGen/X86/2004-02-22-Casts.llx

Chris Lattner lattner at cs.uiuc.edu
Sun Feb 22 21:25:33 PST 2004


Changes in directory llvm/test/Regression/CodeGen/X86:

2004-02-22-Casts.llx added (r1.1)

---
Log message:

Add testcase for the casts that are missing in PR249


---
Diffs of the changes:  (+11 -0)

Index: llvm/test/Regression/CodeGen/X86/2004-02-22-Casts.llx
diff -c /dev/null llvm/test/Regression/CodeGen/X86/2004-02-22-Casts.llx:1.1
*** /dev/null	Sun Feb 22 21:21:19 2004
--- llvm/test/Regression/CodeGen/X86/2004-02-22-Casts.llx	Sun Feb 22 21:21:09 2004
***************
*** 0 ****
--- 1,11 ----
+ ; RUN: llvm-as < %s | llc -march=x86
+ 
+ bool %test1(double %X) {
+    %V = cast double %X to bool
+    ret bool %V
+ }
+ 
+ double %test2(ulong %X) {
+    %V = cast ulong %X to double
+    ret double %V
+ }





More information about the llvm-commits mailing list