repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[InstCombine] Signed saturation tests. NFC
[llvm-complete.git]
/
test
/
Transforms
/
MergeFunc
/
merge-small-unnamed-addr.ll
blob
256f68647612d0737d44b2b684a4a30f8df16861
1
; RUN: opt -S -mergefunc < %s | FileCheck %s
2
3
; CHECK-NOT: @b
4
5
@x = constant { void ()*, void ()* } { void ()* @a, void ()* @b }
6
; CHECK: { void ()* @a, void ()* @a }
7
8
define internal void @a() unnamed_addr {
9
ret void
10
}
11
12
define internal void @b() unnamed_addr {
13
ret void
14
}