New testcase for PR420

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16345 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-09-15 00:58:49 +00:00
parent b66e648e95
commit 8b20217feb

View File

@ -0,0 +1,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
}