projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[Inliner] Discard empty COMDAT groups
[oota-llvm.git]
/
test
/
Transforms
/
Inline
/
pr22285.ll
1
; RUN: opt < %s -inline -S | FileCheck %s
2
3
$f1 = comdat any
4
; CHECK-NOT: $f1 = comdat any
5
6
define void @f2() {
7
call void @f1()
8
ret void
9
}
10
; CHECK-LABEL: define void @f2
11
12
define linkonce_odr void @f1() comdat {
13
ret void
14
}
15
; CHECK-NOT: define linkonce_odr void @f1() comdat