[AArch64][SME2] Add multi-vector saturating doubling multiply high intrinsics
[llvm-project.git] / lld / test / wasm / signature-mismatch-export.ll
blobb77b5092a092a88c698bcf070486dc5dd1557714
1 ; RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown %p/Inputs/ret32.s -o %t.ret32.o
2 ; RUN: llc -mcpu=mvp -filetype=obj %s -o %t.main.o
3 ; RUN: wasm-ld --export=ret32 -o %t.wasm %t.main.o %t.ret32.o
4 ; RUN: obj2yaml %t.wasm | FileCheck %s
6 target triple = "wasm32-unknown-unknown"
8 declare i32 @ret32(i32)
10 define void @_start() {
11 entry:
12   %call1 = call i32 @ret32(i32 0)
13   ret void
16 ; CHECK:        - Type:            EXPORT
17 ; CHECK:            - Name:            ret32
18 ; CHECK-NEXT:         Kind:            FUNCTION
19 ; CHECK-NEXT:         Index:           2
21 ; CHECK:        - Type:            CUSTOM
22 ; CHECK-NEXT:     Name:            name
23 ; CHECK-NEXT:     FunctionNames:
24 ; CHECK-NEXT:       - Index:           0
25 ; CHECK-NEXT:         Name:            'signature_mismatch:ret32'
26 ; CHECK-NEXT:       - Index:           1
27 ; CHECK-NEXT:         Name:            _start
28 ; CHECK-NEXT:       - Index:           2
29 ; CHECK-NEXT:         Name:            ret32
30 ; CHECK-NEXT:     GlobalNames:
31 ; CHECK-NEXT:       - Index:           0
32 ; CHECK-NEXT:         Name:            __stack_pointer
33 ; CHECK-NEXT: ...