279aa8f685
Former-commit-id: 0c7ce5b1a7851e13f22acfd379b7f9fb304e4833
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
|
|
}
|