[AMDGPU][True16][CodeGen] true16 codegen pattern for v_med3_u/i16 (#121850)
[llvm-project.git] / llvm / test / MC / WebAssembly / visibility.ll
blob69b273ecbf25e0c6f6d36b19f7be902f7af13ddb
1 ; RUN: llc -mcpu=mvp -filetype=obj %s -o - | obj2yaml | FileCheck %s
3 target triple = "wasm32-unknown-unknown"
5 ; Function with __attribute__((visibility("default")))
6 define void @defaultVis() #0 {
7 entry:
8   ret void
11 ; Function with __attribute__((visibility("hidden")))
12 define hidden void @hiddenVis() #0 {
13 entry:
14   ret void
17 ; CHECK:          SymbolTable:
18 ; CHECK-NEXT:       - Index:           0
19 ; CHECK-NEXT:         Kind:            FUNCTION
20 ; CHECK-NEXT:         Name:            defaultVis
21 ; CHECK-NEXT:         Flags:           [  ]
22 ; CHECK-NEXT:         Function:        0
23 ; CHECK-NEXT:       - Index:           1
24 ; CHECK-NEXT:         Kind:            FUNCTION
25 ; CHECK-NEXT:         Name:            hiddenVis
26 ; CHECK-NEXT:         Flags:           [ VISIBILITY_HIDDEN ]
27 ; CHECK-NEXT:         Function:        1
28 ; CHECK-NEXT: ...