1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 12:02:58 +02:00
llvm-mirror/test/CodeGen/X86/bitcast.ll
Reid Spencer df17fa8ef9 For PR1319:
Remove && from the end of the lines to prevent tests from throwing run
lines into the background. Also, clean up places where the same command
is run multiple times by using a temporary file.

llvm-svn: 36142
2007-04-16 17:36:08 +00:00

24 lines
410 B
LLVM

; 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
}