mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 01:43:57 +00:00
New testcase that crashes the ppc backend
llvm-svn: 23871
This commit is contained in:
parent
1fbdee408d
commit
7d5010382a
12
test/Regression/CodeGen/Generic/2005-10-21-longlonggtu.ll
Normal file
12
test/Regression/CodeGen/Generic/2005-10-21-longlonggtu.ll
Normal file
@ -0,0 +1,12 @@
|
||||
; RUN: llvm-as < %s | llc
|
||||
float %t(long %u) {
|
||||
%u = cast long %u 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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user