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
Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git]
/
llvm
/
test
/
Transforms
/
Inline
/
pr46945.ll
blob
6312538fd639668709c0d047ed70715fb03c7734
1
; RUN: opt %s -o - -S -passes='default<O2>' | FileCheck %s
2
; RUN: opt %s -o - -S -passes=inliner-wrapper | FileCheck %s
3
4
; CHECK-NOT: call void @b()
5
define void @b() alwaysinline {
6
entry:
7
br label %for.cond
8
9
for.cond:
10
call void @a()
11
br label %for.cond
12
}
13
14
define void @a() {
15
entry:
16
call void @b()
17
ret void
18
}