llvm-6502/test/CodeGen/X86/bitcast.ll
Reid Spencer 73e70822ae Update tests that need to be run through llvm-upgrade. This is necessary
for upcoming changes to the llvm assembly grammar.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32768 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-29 20:01:32 +00:00

25 lines
457 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | llc &&
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 &&
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86-64
; PR1033
long %test1(double %t) {
%u = bitcast double %t to long
ret long %u
}
double %test2(long %t) {
%u = bitcast long %t to double
ret double %u
}
int %test3(float %t) {
%u = bitcast float %t to int
ret int %u
}
float %test4(int %t) {
%u = bitcast int %t to float
ret float %u
}