llvm-6502/test/CodeGen/X86/fildll.ll
2007-08-15 13:36:28 +00:00

12 lines
283 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -x86-asm-syntax=att -mattr=-sse2 | grep fildll | count 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
}