mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
New testcase crashing LICM
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5648 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
31a9d185bf
commit
8856f4c478
22
test/Transforms/LICM/2003-02-26-LoopExitNotDominated.ll
Normal file
22
test/Transforms/LICM/2003-02-26-LoopExitNotDominated.ll
Normal file
@ -0,0 +1,22 @@
|
||||
; RUN: as < %s | opt -basicaa -licm -disable-output
|
||||
|
||||
;%MoveArray = external global [64 x ulong]
|
||||
|
||||
implementation ; Functions:
|
||||
|
||||
void %InitMoveArray() {
|
||||
bb3: ; No predecessors!
|
||||
%X = alloca [2 x ulong]
|
||||
br bool false, label %bb13, label %bb4
|
||||
|
||||
bb4: ; preds = %bb3
|
||||
%reg3011 = getelementptr [2 x ulong]* %X, long 0, long 0
|
||||
br label %bb8
|
||||
|
||||
bb8: ; preds = %bb8, %bb4
|
||||
store ulong 0, ulong* %reg3011
|
||||
br bool false, label %bb8, label %bb13
|
||||
|
||||
bb13: ; preds = %bb8, %bb3
|
||||
ret void
|
||||
}
|
Loading…
Reference in New Issue
Block a user