repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[InstCombine] Signed saturation patterns
[llvm-complete.git]
/
test
/
Transforms
/
Inline
/
2008-09-02-NoInline.ll
blob
902b53bfe9b281dcc60a2f01b3f17f847346e67e
1
; RUN: opt < %s -inline -S | FileCheck %s
2
; RUN: opt < %s -passes='cgscc(inline)' -S | FileCheck %s
3
4
define i32 @fn2() noinline {
5
; CHECK-LABEL: define i32 @fn2()
6
entry:
7
ret i32 1
8
}
9
10
define i32 @fn3() {
11
; CHECK-LABEL: define i32 @fn3()
12
entry:
13
%r = call i32 @fn2()
14
; CHECK: call i32 @fn2()
15
16
ret i32 %r
17
}