projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
new testcase
[oota-llvm.git]
/
test
/
Transforms
/
Inline
/
cfg_preserve_test.ll
1
; This test ensures that inlining an "empty" function does not destroy the CFG
2
;
3
; RUN: as < %s | opt -inline | dis | not grep br
4
5
int %func(int %i) {
6
ret int %i
7
}
8
9
declare void %bar()
10
11
int %main(int %argc) {
12
Entry:
13
%X = call int %func(int 7)
14
ret int %X
15
}