mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-30 23:42:52 +01:00
563ba88392
llvm-svn: 8558
20 lines
511 B
LLVM
20 lines
511 B
LLVM
; An invalid assertion killed the level raiser. Fixed.
|
|
;
|
|
; RUN: llvm-as < %s | opt -raise
|
|
|
|
implementation
|
|
|
|
declare int "connect_left"()
|
|
|
|
int "do_merge"()
|
|
begin
|
|
%reg108 = call int %connect_left( )
|
|
%cast1002 = cast ulong 8 to sbyte *
|
|
%reg108-idxcast = cast int %reg108 to long
|
|
%reg1000 = getelementptr sbyte * %cast1002, long %reg108-idxcast
|
|
%cast1003 = cast sbyte * %reg1000 to sbyte * *
|
|
%reg112 = load sbyte * * %cast1003
|
|
%cast111 = cast sbyte * %reg112 to int
|
|
ret int %cast111
|
|
end
|