1; RUN: llc -march=mips < %s | FileCheck %s 2 3define i32 @fptoint(float %a) nounwind { 4entry: 5; CHECK: trunc.w.s 6 fptosi float %a to i32 ; <i32>:0 [#uses=1] 7 ret i32 %0 8} 9 10define i32 @fptouint(float %a) nounwind { 11entry: 12; CHECK: fptouint 13; CHECK: trunc.w.s 14; CHECK: trunc.w.s 15 fptoui float %a to i32 ; <i32>:0 [#uses=1] 16 ret i32 %0 17} 18