repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
eliminate the "MBBLabel" MCOperand type, and just use a MCSymbol for
[llvm/avr.git]
/
test
/
Transforms
/
Inline
/
cfg_preserve_test.ll
blob
9597109dff0be15e049b176478778c9d93018de3
1
; This test ensures that inlining an "empty" function does not destroy the CFG
2
;
3
; RUN: opt < %s -inline -S | not grep br
4
5
define i32 @func(i32 %i) {
6
ret i32 %i
7
}
8
9
declare void @bar()
10
11
define i32 @main(i32 %argc) {
12
Entry:
13
%X = call i32 @func( i32 7 ) ; <i32> [#uses=1]
14
ret i32 %X
15
}
16