mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
9 lines
187 B
LLVM
9 lines
187 B
LLVM
|
; 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
|
||
|
}
|