aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/LICM/2003-02-26-LoopExitNotDominated.ll
blob: 43430d85734aae7eb2ded2de5869052a08402924 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
; RUN: llvm-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
}