Home | History | Annotate | Download | only in NVPTX
      1 ; RUN: llc < %s -march=nvptx -mcpu=sm_20 | FileCheck %s
      2 
      3 ; CHECK: // .weak foo
      4 ; CHECK: .weak .func foo
      5 define weak void @foo() {
      6   ret void
      7 }
      8 
      9 ; CHECK: // .weak baz
     10 ; CHECK: .weak .func baz
     11 define weak_odr void @baz() {
     12   ret void
     13 }
     14 
     15 ; CHECK: .visible .func bar
     16 define void @bar() {
     17   ret void
     18 }
     19