repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
In some rare cases, the register allocator can spill registers but end up not utilizi...
[llvm/msp430.git]
/
test
/
Analysis
/
CallGraph
/
2008-09-09-DirectCall.ll
blob
456ffa25d7bfdd1142468ef27917453e822146ee
1
; RUN: llvm-as < %s | opt -print-callgraph -disable-output |& \
2
; RUN: grep {Calls function 'callee'} | count 2
3
4
define internal void @callee(...) {
5
entry:
6
unreachable
7
}
8
9
define void @caller() {
10
entry:
11
call void (...)* @callee( void (...)* @callee )
12
unreachable
13
}