llvm-6502/test/CodeGen/X86/uint_to_fp-2.ll

9 lines
187 B
LLVM
Raw Normal View History

; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep movsd | count 1
; rdar://6504833
define float @f(i32 %x) nounwind readnone {
entry:
%0 = uitofp i32 %x to float
ret float %0
}