aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/LICM/2003-02-26-LoopExitNotDominated.ll
blob: 1b50a6c87af77f9621bf3437cb8214d48c0c7928 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
; RUN: opt < %s -basicaa -licm -disable-output

;%MoveArray = external global [64 x ulong]

define void @InitMoveArray() {
bb3:
	%X = alloca [2 x i64]		; <[2 x i64]*> [#uses=1]
	br i1 false, label %bb13, label %bb4
bb4:		; preds = %bb3
	%reg3011 = getelementptr [2 x i64], [2 x i64]* %X, i64 0, i64 0		; <i64*> [#uses=1]
	br label %bb8
bb8:		; preds = %bb8, %bb4
	store i64 0, i64* %reg3011
	br i1 false, label %bb8, label %bb13
bb13:		; preds = %bb8, %bb3
	ret void
}