repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bump version to 19.1.0-rc3
[llvm-project.git]
/
llvm
/
test
/
Transforms
/
Inline
/
2008-09-02-NoInline.ll
blob
c34e9a530fe5ed55eaa4d489ad72ff79a27c8551
1
; RUN: opt < %s -passes=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
}