mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 22:32:47 +00:00
21a82e6fc7
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29924 91177308-0d34-0410-b5e6-96231b3b80d8
27 lines
485 B
LLVM
27 lines
485 B
LLVM
; RUN: llvm-as < %s | opt -analyze -tddatastructure
|
|
|
|
implementation ; Functions:
|
|
|
|
declare void %__main()
|
|
|
|
void %A(int* %L) {
|
|
bb0: ; No predecessors!
|
|
call void %B( int* %L )
|
|
call void %A( int* %L )
|
|
ret void
|
|
}
|
|
|
|
void %B(int* %L) {
|
|
bb0: ; No predecessors!
|
|
call void %A( int* %L )
|
|
ret void
|
|
}
|
|
|
|
void %main() {
|
|
bb0: ; No predecessors!
|
|
call void %__main( )
|
|
call void %A( int* null )
|
|
ret void
|
|
}
|
|
|