diff options
Diffstat (limited to 'test/CodeGen/X86/fildll.ll')
-rw-r--r-- | test/CodeGen/X86/fildll.ll | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/CodeGen/X86/fildll.ll b/test/CodeGen/X86/fildll.ll new file mode 100644 index 0000000000..a9808dfcad --- /dev/null +++ b/test/CodeGen/X86/fildll.ll @@ -0,0 +1,11 @@ +; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=att | 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 +} |