1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 04:52:54 +02:00
llvm-mirror/test/CodeGen/NVPTX/weak-linkage.ll
2014-06-27 18:35:10 +00:00

13 lines
185 B
LLVM

; RUN: llc < %s -march=nvptx -mcpu=sm_20 | FileCheck %s
; CHECK: .weak .func foo
define weak void @foo() {
ret void
}
; CHECK: .visible .func bar
define void @bar() {
ret void
}