2002-02-14 22:20:54 +00:00
|
|
|
; An invalid assertion killed the level raiser. Fixed.
|
|
|
|
;
|
2003-09-16 15:29:54 +00:00
|
|
|
; RUN: llvm-as < %s | opt -raise
|
2002-02-14 22:20:54 +00:00
|
|
|
|
|
|
|
implementation
|
|
|
|
|
|
|
|
declare int "connect_left"()
|
|
|
|
|
|
|
|
int "do_merge"()
|
|
|
|
begin
|
|
|
|
%reg108 = call int %connect_left( )
|
|
|
|
%cast1002 = cast ulong 8 to sbyte *
|
2002-11-04 06:09:46 +00:00
|
|
|
%reg108-idxcast = cast int %reg108 to long
|
|
|
|
%reg1000 = getelementptr sbyte * %cast1002, long %reg108-idxcast
|
2002-02-14 22:20:54 +00:00
|
|
|
%cast1003 = cast sbyte * %reg1000 to sbyte * *
|
|
|
|
%reg112 = load sbyte * * %cast1003
|
|
|
|
%cast111 = cast sbyte * %reg112 to int
|
|
|
|
ret int %cast111
|
|
|
|
end
|