[llvm-commits] CVS: llvm/test/Regression/CodeGen/X86/2006-12-04-X86-64-Bitcast.ll

Reid Spencer reid at x10sys.com
Mon Dec 4 10:25:11 PST 2006



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

2006-12-04-X86-64-Bitcast.ll added (r1.1)
---
Log message:

Test case for PR1033: http://llvm.org/PR1033 , x86-64 code gen fails on bitcast.


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

 2006-12-04-X86-64-Bitcast.ll |   12 ++++++++++++
 1 files changed, 12 insertions(+)


Index: llvm/test/Regression/CodeGen/X86/2006-12-04-X86-64-Bitcast.ll
diff -c /dev/null llvm/test/Regression/CodeGen/X86/2006-12-04-X86-64-Bitcast.ll:1.1
*** /dev/null	Mon Dec  4 12:25:06 2006
--- llvm/test/Regression/CodeGen/X86/2006-12-04-X86-64-Bitcast.ll	Mon Dec  4 12:24:56 2006
***************
*** 0 ****
--- 1,12 ----
+ ; PR1033
+ ; RUN: llvm-as < %s | llc -march=x86-64
+ long %p(double %t) {
+   %u = bitcast double %t to long
+   ret long %u
+ }
+ 
+ double %q(long %t) {
+   %u = bitcast long %t to double
+   ret double %u
+ }
+ 






More information about the llvm-commits mailing list