repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bump version to 19.1.0-rc3
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
Mips
/
double2int.ll
blob
f0d8ad28100f657e2121d5239c128a21bd82113d
1
; RUN: llc -march=mips -mcpu=mips32 < %s | FileCheck %s
2
; RUN: llc -march=mips -mcpu=mips32r6 < %s | FileCheck %s
3
4
define i32 @f1(double %d) nounwind readnone {
5
entry:
6
; CHECK: trunc.w.d $f{{[0-9]+}}, $f12
7
%conv = fptosi double %d to i32
8
ret i32 %conv
9
}