android_mt6572_jiabo/external/llvm/test/CodeGen/Mips/2008-08-07-FPRound.ll
2025-09-05 16:56:03 +08:00

8 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
}