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
pass machinemoduleinfo down into getSymbolForDwarfGlobalReference,
[llvm/avr.git]
/
test
/
Transforms
/
Inline
/
2008-10-30-AlwaysInline.ll
blob
11e501274d3bf19c695a180cd45902dd8f76080d
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
}