1 ; RUN: llc < %s -march=nvptx -mcpu=sm_20 | FileCheck %s 2 3 ; PTX does not support .hidden or .protected. 4 ; Make sure we do not emit them. 5 6 define hidden void @f_hidden() { 7 ret void 8 } 9 ; CHECK-NOT: .hidden 10 ; CHECK: .visible .func f_hidden 11 12 define protected void @f_protected() { 13 ret void 14 } 15 ; CHECK-NOT: .protected 16 ; CHECK: .visible .func f_protected 17