repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[InstCombine] Signed saturation patterns
[llvm-core.git]
/
test
/
CodeGen
/
Generic
/
pr24662.ll
blob
5a10b9cb0acb444f9d64f6d9bef1a29aca361468
1
; RUN: llc < %s -fast-isel
2
; RUN: llc < %s
3
4
define i60 @PR24662a() {
5
ret i60 trunc (i670010 fptoui(float 0x400D9999A0000000 to i670010) to i60)
6
}
7
8
define i60 @PR24662b() {
9
%1 = fptoui float 0x400D9999A0000000 to i670010
10
%2 = trunc i670010 %1 to i60
11
ret i60 %2
12
}