1*9880d681SAndroid Build Coastguard Worker; RUN: llc -march=mips -mattr=single-float < %s | FileCheck %s 2*9880d681SAndroid Build Coastguard Worker 3*9880d681SAndroid Build Coastguard Workerdefine float @round2float(double %a) nounwind { 4*9880d681SAndroid Build Coastguard Workerentry: 5*9880d681SAndroid Build Coastguard Worker; CHECK: __truncdfsf2 6*9880d681SAndroid Build Coastguard Worker fptrunc double %a to float ; <float>:0 [#uses=1] 7*9880d681SAndroid Build Coastguard Worker ret float %0 8*9880d681SAndroid Build Coastguard Worker} 9