1; RUN: llc -mtriple=mips -mcpu=mips32 < %s | FileCheck %s
2; RUN: llc -mtriple=mips -mcpu=mips32r6 < %s | FileCheck %s
3
4define i32 @f1(double %d) nounwind readnone {
5entry:
6; CHECK: trunc.w.d $f{{[0-9]+}}, $f12
7 %conv = fptosi double %d to i32
8 ret i32 %conv
9}
10