mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-02 11:30:10 +00:00
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209388 91177308-0d34-0410-b5e6-96231b3b80d8
10 lines
317 B
LLVM
10 lines
317 B
LLVM
; RUN: llc -march=r600 -mcpu=SI -verify-machineinstrs < %s | FileCheck -check-prefix=SI %s
|
|
|
|
; SI-LABEL: @fp_to_uint_i32_f64
|
|
; SI: V_CVT_U32_F64_e32
|
|
define void @fp_to_uint_i32_f64(i32 addrspace(1)* %out, double %in) {
|
|
%cast = fptoui double %in to i32
|
|
store i32 %cast, i32 addrspace(1)* %out, align 4
|
|
ret void
|
|
}
|