llvm-6502/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
}