forked from OSchip/llvm-project
13 lines
185 B
LLVM
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
|
||
|
}
|