projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Remove DSA.
[oota-llvm.git]
/
test
/
Analysis
/
DSGraph
/
2003-06-29-IncompleteTDPass.ll
1
; RUN: llvm-upgrade < %s | llvm-as | opt -analyze -datastructure-gc -dsgc-dspass=td -dsgc-check-flags=Ptr:HR
2
3
4
5
int %main() {
6
call void %A()
7
call void %B()
8
ret int 0
9
}
10
11
internal void %A() {
12
%V = malloc int
13
call void %Callee(int* %V)
14
ret void
15
}
16
17
internal void %B() {
18
%V = malloc int
19
call void %Callee(int* %V)
20
ret void
21
}
22
23
internal void %Callee(int* %Ptr) {
24
load int* %Ptr
25
ret void
26
}