YouCompleteMe/cpp/llvm/test/CodeGen/Mips/double2int.ll

9 lines
187 B
LLVM
Raw Normal View History

2012-07-05 20:51:06 -04:00
; RUN: llc -march=mips < %s | FileCheck %s
define i32 @f1(double %d) nounwind readnone {
entry:
; CHECK: trunc.w.d $f{{[0-9]+}}, $f12
%conv = fptosi double %d to i32
ret i32 %conv
}