mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 04:29:21 +00:00
Checking regression test for bugfix
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1766 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
54d1e6cab2
commit
4ed5534a8f
19
test/Transforms/LevelRaise/2002-02-14-BadAssertion.ll
Normal file
19
test/Transforms/LevelRaise/2002-02-14-BadAssertion.ll
Normal file
@ -0,0 +1,19 @@
|
||||
; An invalid assertion killed the level raiser. Fixed.
|
||||
;
|
||||
; RUN: 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 uint
|
||||
%reg1000 = getelementptr sbyte * %cast1002, uint %reg108-idxcast
|
||||
%cast1003 = cast sbyte * %reg1000 to sbyte * *
|
||||
%reg112 = load sbyte * * %cast1003
|
||||
%cast111 = cast sbyte * %reg112 to int
|
||||
ret int %cast111
|
||||
end
|
Loading…
Reference in New Issue
Block a user