mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-27 13:30:05 +00:00
0b4a61548f
output. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140263 91177308-0d34-0410-b5e6-96231b3b80d8
9 lines
209 B
LLVM
9 lines
209 B
LLVM
; RUN: llc -march=mips -mattr=single-float < %s | FileCheck %s
|
|
|
|
define float @round2float(double %a) nounwind {
|
|
entry:
|
|
; CHECK: __truncdfsf2
|
|
fptrunc double %a to float ; <float>:0 [#uses=1]
|
|
ret float %0
|
|
}
|