projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix PR2029
[oota-llvm.git]
/
test
/
Transforms
/
Inline
/
inline-tail.ll
1
; RUN: llvm-upgrade < %s | llvm-as | opt -inline | llvm-dis | not grep tail
2
3
implementation
4
5
declare void %bar(int*)
6
7
internal void %foo(int* %P) { ;; to be inlined
8
tail call void %bar(int* %P)
9
ret void
10
}
11
12
void %caller() {
13
%A = alloca int
14
call void %foo(int* %A) ;; not a tail call
15
ret void
16
}