llvm-6502/test/CodeGen/NVPTX/weak-linkage.ll

13 lines
185 B
LLVM
Raw Normal View History

; 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
}