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
Revert "[InstCombine] Support gep nuw in icmp folds" (#118698)
[llvm-project.git]
/
llvm
/
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
}