mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-23 17:32:49 +00:00
12 lines
246 B
LLVM
12 lines
246 B
LLVM
|
; RUN: llc < %s -mtriple=i686-linux-pc -mcpu=corei7 | FileCheck %s
|
||
|
|
||
|
define <2 x float> @bar(<2 x i32> %in) {
|
||
|
%r = uitofp <2 x i32> %in to <2 x float>
|
||
|
ret <2 x float> %r
|
||
|
; CHECK: bar
|
||
|
; CHECK: or
|
||
|
; CHECK: subpd
|
||
|
; CHECK: cvtpd2ps
|
||
|
; CHECK: ret
|
||
|
}
|