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
/
zero-cost.ll
blob
7e2d33d6e357d2cb64d0c8f054a3ebb07d99d337
1
; RUN: opt -passes=inline -S %s | FileCheck %s
2
; RUN: opt -passes='cgscc(inline)' -S %s | FileCheck %s
3
4
define void @f() {
5
entry:
6
tail call void @g()
7
unreachable
8
9
; CHECK-LABEL: @f
10
; CHECK-NOT: call
11
; CHECK: unreachable
12
}
13
14
define void @g() {
15
entry:
16
unreachable
17
}
18