mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
4572ce85b0
llvm-svn: 33296
13 lines
339 B
LLVM
13 lines
339 B
LLVM
; RUN: llvm-upgrade < %s | llvm-as | llc
|
|
float %t(long %u_arg) {
|
|
%u = cast long %u_arg to ulong ; <ulong> [#uses=1]
|
|
%tmp5 = add ulong %u, 9007199254740991 ; <ulong> [#uses=1]
|
|
%tmp = setgt ulong %tmp5, 18014398509481982 ; <bool> [#uses=1]
|
|
br bool %tmp, label %T, label %F
|
|
T:
|
|
ret float 1.0
|
|
F:
|
|
call float %t(long 0)
|
|
ret float 0.0
|
|
}
|