mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-07 12:30:44 +00:00
15ac267b49
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257961 91177308-0d34-0410-b5e6-96231b3b80d8
17 lines
360 B
LLVM
17 lines
360 B
LLVM
; RUN: llc < %s -march=nvptx -mcpu=sm_20 | FileCheck %s
|
|
|
|
; PTX does not support .hidden or .protected.
|
|
; Make sure we do not emit them.
|
|
|
|
define hidden void @f_hidden() {
|
|
ret void
|
|
}
|
|
; CHECK-NOT: .hidden
|
|
; CHECK: .visible .func f_hidden
|
|
|
|
define protected void @f_protected() {
|
|
ret void
|
|
}
|
|
; CHECK-NOT: .protected
|
|
; CHECK: .visible .func f_protected
|