summaryrefslogtreecommitdiff
path: root/test/CodeGen/Mips/2008-08-07-FPRound.ll
blob: 4fa43b6833bde9543e832b05db53f08b27c119f1 (plain)
1
2
3
4
5
6
7
8
; 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
}