llvm-6502/test/Transforms/LICM/2004-09-14-AliasAnalysisInvalidate.llx
Chris Lattner 8b20217feb New testcase for PR420
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16345 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-15 00:58:49 +00:00

23 lines
480 B
Plaintext

; 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
}