aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/LICM/2004-09-14-AliasAnalysisInvalidate.ll
blob: 16f4fed34ec37f5a2a78aee7f56289885af86551 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
; RUN: opt < %s -globalsmodref-aa -licm -disable-output

@PL_regcomp_parse = internal global i8* null		; <i8**> [#uses=2]

define void @test() {
	br label %Outer
Outer:		; preds = %Next, %0
	br label %Inner
Inner:		; preds = %Inner, %Outer
	%tmp.114.i.i.i = load i8** @PL_regcomp_parse		; <i8*> [#uses=1]
	%tmp.115.i.i.i = load i8* %tmp.114.i.i.i		; <i8> [#uses=0]
	store i8* null, i8** @PL_regcomp_parse
	br i1 false, label %Inner, label %Next
Next:		; preds = %Inner
	br i1 false, label %Outer, label %Exit
Exit:		; preds = %Next
	ret void
}