1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 12:02:58 +02:00
llvm-mirror/test/Regression/CodeGen/X86/fildll.ll
Evan Cheng 5d4ce9a622 These are fp stack test cases.
llvm-svn: 25698
2006-01-27 21:14:23 +00:00

12 lines
275 B
LLVM

; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=att -mattr=-sse2 | grep fildll | wc -l | grep 2
fastcc double %sint64_to_fp(long %X) {
%R = cast long %X to double
ret double %R
}
fastcc double %uint64_to_fp(ulong %X) {
%R = cast ulong %X to double
ret double %R
}