[AArch64][SME2] Add multi-vector saturating doubling multiply high intrinsics
[llvm-project.git] / lld / test / wasm / import-module.ll
blob5045e6df6d540132211cc2e6a76026c8e00a5d57
1 ; RUN: llc -filetype=obj %s -o %t.o
2 ; RUN: wasm-ld --allow-undefined -o %t.wasm %t.o
3 ; RUN: obj2yaml %t.wasm | FileCheck %s
5 target triple = "wasm32-unknown-unknown-wasm"
7 define void @_start() {
8   call void @foo();
9   call void @qux();
10   ret void
13 declare void @foo() #0
14 declare void @qux() #1
16 attributes #0 = { "wasm-import-module"="bar" }
17 attributes #1 = { "wasm-import-module"="" }
19 ; CHECK:        - Type:            IMPORT
20 ; CHECK-NEXT:     Imports:         
21 ; CHECK-NEXT:       - Module:          bar
22 ; CHECK-NEXT:         Field:           foo
23 ; CHECK-NEXT:         Kind:            FUNCTION
24 ; CHECK-NEXT:         SigIndex:        0
25 ; CHECK-NEXT:       - Module:          ''
26 ; CHECK-NEXT:         Field:           qux
27 ; CHECK-NEXT:         Kind:            FUNCTION
28 ; CHECK-NEXT:         SigIndex:        0