mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-31 15:53:42 +00:00
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:
parent
2c312adac9
commit
b212dceb6b
12
test/CodeGen/X86/2006-12-04-X86-64-Bitcast.ll
Normal file
12
test/CodeGen/X86/2006-12-04-X86-64-Bitcast.ll
Normal 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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user