[NVPTX] Flag surface/texture query instructions with IsTexSurfQuery
[oota-llvm.git] / test / CodeGen / NVPTX / weak-linkage.ll
1 ; RUN: llc < %s -march=nvptx -mcpu=sm_20 | FileCheck %s
2
3
4 ; CHECK: .weak .func foo
5 define weak void @foo() {
6   ret void
7 }
8
9 ; CHECK: .visible .func bar
10 define void @bar() {
11   ret void
12 }