blob: 602321398af29beb902216845925828ec1d2a6fa [file] [log] [blame]
Reid Spencer69ccadd2006-12-02 04:23:10 +00001; RUN: llvm-upgrade < %s | llvm-as | llc
Chris Lattner77a498c2005-10-21 21:09:13 +00002float %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
7T:
8 ret float 1.0
9F:
10 call float %t(long 0)
11 ret float 0.0
12}