diff options
Diffstat (limited to 'test/CodeGen/X86/fildll.ll')
-rw-r--r-- | test/CodeGen/X86/fildll.ll | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/test/CodeGen/X86/fildll.ll b/test/CodeGen/X86/fildll.ll index 49bbc70..65944fd 100644 --- a/test/CodeGen/X86/fildll.ll +++ b/test/CodeGen/X86/fildll.ll @@ -1,11 +1,12 @@ -; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -x86-asm-syntax=att -mattr=-sse2 | grep fildll | count 2 +; RUN: llvm-as < %s | 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 +define fastcc double @sint64_to_fp(i64 %X) { + %R = sitofp i64 %X to double ; <double> [#uses=1] + ret double %R } -fastcc double %uint64_to_fp(ulong %X) { - %R = cast ulong %X to double - ret double %R +define fastcc double @uint64_to_fp(i64 %X) { + %R = uitofp i64 %X to double ; <double> [#uses=1] + ret double %R } + |