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
/
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
}