blob: 44ccfcc6807fb0ed7ecfe1083e0d89feb52b0cab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
; 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
|