projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
New testcase, distilled from PR324
[oota-llvm.git]
/
test
/
Transforms
/
Inline
/
2004-04-15-InlineDeletesCall.ll
1
; RUN: llvm-as < %s | opt -inline -disable-output
2
3
; Inlining the first call caused the inliner function to delete the second
4
; call. Then the inliner tries to inline the second call, which no longer
5
; exists.
6
7
implementation
8
9
internal void %Callee1() {
10
unwind
11
}
12
13
void %Callee2() {
14
ret void
15
}
16
17
void %caller() {
18
call void %Callee1()
19
call void %Callee2()
20
ret void
21
}