summaryrefslogtreecommitdiff
path: root/test/Transforms/LICM/2004-09-14-AliasAnalysisInvalidate.llx
blob: 253a980f89e58aed099e9cecf174f1ce6b7a9197 (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 -globalsmodref-aa -licm -disable-output

%PL_regcomp_parse = internal global sbyte* null

implementation

void %test() {
        br label %Outer
Outer:
        br label %Inner
Inner:
	%tmp.114.i.i.i = load sbyte** %PL_regcomp_parse
	%tmp.115.i.i.i = load sbyte* %tmp.114.i.i.i

	store sbyte* null, sbyte** %PL_regcomp_parse

        br bool false, label %Inner, label %Next
Next:
        br bool false, label %Outer, label %Exit
Exit:
        ret void
}