projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Code sufficiently protected against this test.
[oota-llvm.git]
/
test
/
CodeGen
/
Generic
/
2005-10-21-longlonggtu.ll
1
; RUN: llvm-as < %s | llc
2
float %t(long %u) {
3
%u = cast long %u to ulong ; <ulong> [#uses=1]
4
%tmp5 = add ulong %u, 9007199254740991 ; <ulong> [#uses=1]
5
%tmp = setgt ulong %tmp5, 18014398509481982 ; <bool> [#uses=1]
6
br bool %tmp, label %T, label %F
7
T:
8
ret float 1.0
9
F:
10
call float %t(long 0)
11
ret float 0.0
12
}