llvm-6502/test/Transforms/DSAnalysis/recursion.ll
2006-08-27 22:41:58 +00:00

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
}