[AArch64][SME2] Add multi-vector saturating doubling multiply high intrinsics
[llvm-project.git] / lld / test / wasm / lto / import-attributes.ll
blob72198fa8adb4982b2b8472d19546ec3f7b99b2ef
1 ; RUN: llvm-as %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"
6 target datalayout = "e-m:e-p:32:32-p10:8:8-p20:8:8-i64:64-n32:64-S128"
8 define void @_start() {
9   call void @foo();
10   ret void
13 declare void @foo() #0
15 attributes #0 = { "wasm-import-module"="bar" "wasm-import-name"="customfoo" }
17 ; CHECK:        - Type:            IMPORT
18 ; CHECK-NEXT:     Imports:
19 ; CHECK-NEXT:       - Module:          bar
20 ; CHECK-NEXT:         Field:           customfoo
21 ; CHECK-NEXT:         Kind:            FUNCTION
22 ; CHECK-NEXT:         SigIndex:        0