aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/DSAnalysis/recursion.ll
blob: 669b0a4e1b7a6b5b309b6a7e277a615acb0cc311 (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
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
}