projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[NVPTX] fix a crash bug in NVPTXFavorNonGenericAddrSpaces
[oota-llvm.git]
/
test
/
CodeGen
/
NVPTX
/
weak-linkage.ll
1
; RUN: llc < %s -march=nvptx -mcpu=sm_20 | FileCheck %s
2
3
; CHECK: // .weak foo
4
; CHECK: .weak .func foo
5
define weak void @foo() {
6
ret void
7
}
8
9
; CHECK: // .weak baz
10
; CHECK: .weak .func baz
11
define weak_odr void @baz() {
12
ret void
13
}
14
15
; CHECK: .visible .func bar
16
define void @bar() {
17
ret void
18
}