xref: /aosp_15_r20/external/llvm/test/CodeGen/Mips/double2int.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1; RUN: llc -march=mips < %s | FileCheck %s
2
3define i32 @f1(double %d) nounwind readnone {
4entry:
5; CHECK: trunc.w.d $f{{[0-9]+}}, $f12
6  %conv = fptosi double %d to i32
7  ret i32 %conv
8}
9