summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/uint_to_fp-2.ll
blob: d6304370e293c837b61e2d8f56b2dbdddf915c04 (plain)
1
2
3
4
5
6
7
8
; 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
}
OpenPOWER on IntegriCloud