mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 21:32:10 +00:00
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:
parent
b66e648e95
commit
8b20217feb
22
test/Transforms/LICM/2004-09-14-AliasAnalysisInvalidate.llx
Normal file
22
test/Transforms/LICM/2004-09-14-AliasAnalysisInvalidate.llx
Normal 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user