8625704ad8
Former-commit-id: 67aa10e65b237e1c4537630979ee99ebe1374215
9 lines
187 B
LLVM
9 lines
187 B
LLVM
; 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
|
|
}
|