Test case for PR1033, x86-64 code gen fails on bitcast.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32185 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2006-12-04 18:24:56 +00:00
parent 2c312adac9
commit b212dceb6b

View File

@ -0,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
}