mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-22 07:32:48 +00:00
69ccadd753
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32115 91177308-0d34-0410-b5e6-96231b3b80d8
23 lines
495 B
Plaintext
23 lines
495 B
Plaintext
; RUN: llvm-upgrade < %s | llvm-as | 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
|
|
}
|