1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 16:33:37 +01:00
llvm-mirror/test/CodeGen/Mips/double2int.ll
2011-05-23 22:16:43 +00:00

9 lines
197 B
LLVM

; RUN: llc -march=mips -mcpu=4ke < %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
}