aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/DSAnalysis/recursion.ll
blob: 6acdd24853a811a6a1f074593bd6e3ac97617101 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
; RUN: analyze %s -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
}