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
[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git]
/
llvm
/
test
/
Transforms
/
Inline
/
zero-cost.ll
blob
6f5348ff395add4da9a1bf4c2b542ee13d56c7eb
1
; RUN: opt -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