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
another random update
[llvm/avr.git]
/
test
/
Transforms
/
Inline
/
2008-10-30-AlwaysInline.ll
blob
34b95b70ac0158fef91fbb54359c16d5eee9e19b
1
; RUN: opt %s -always-inline -S | not grep call
2
3
; Ensure that threshold doesn't disrupt always inline.
4
; RUN: opt %s -inline-threshold=-2000000001 -always-inline -S | not grep call
5
6
7
define internal i32 @if0() alwaysinline {
8
ret i32 1
9
}
10
11
define i32 @f0() {
12
%r = call i32 @if0()
13
ret i32 %r
14
}