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
[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git]
/
test
/
Transforms
/
EliminateAvailableExternally
/
visibility.ll
blob
f24b8ac65e164347592c4f86c2e65b8c17e85e72
1
; RUN: opt -passes=elim-avail-extern -S < %s | FileCheck %s
2
3
; CHECK: declare hidden void @f()
4
define available_externally hidden void @f() {
5
ret void
6
}
7
8
define void @g() {
9
call void @f()
10
ret void
11
}