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
Bump version to 19.1.0-rc3
[llvm-project.git]
/
llvm
/
test
/
Transforms
/
MergeFunc
/
merge-small-unnamed-addr.ll
blob
44b8a71631e87d84e8d82e07b272de4877a16301
1
; RUN: opt -S -passes=mergefunc < %s | FileCheck %s
2
3
; CHECK-NOT: @b
4
5
@x = constant { ptr, ptr } { ptr @a, ptr @b }
6
; CHECK: { ptr @a, ptr @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
}