llvm.org GIT mirror llvm / 8b20217
New testcase for PR420 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16345 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 15 years ago
1 changed file(s) with 22 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: llvm-as < %s | opt -globalsmodref-aa -licm -disable-output
1
2 %PL_regcomp_parse = internal global sbyte* null
3
4 implementation
5
6 void %test() {
7 br label %Outer
8 Outer:
9 br label %Inner
10 Inner:
11 %tmp.114.i.i.i = load sbyte** %PL_regcomp_parse
12 %tmp.115.i.i.i = load sbyte* %tmp.114.i.i.i
13
14 store sbyte* null, sbyte** %PL_regcomp_parse
15
16 br bool false, label %Inner, label %Next
17 Next:
18 br bool false, label %Outer, label %Exit
19 Exit:
20 ret void
21 }