[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / WebAssembly / import-module.ll
blob1da142123ed2f3d96c3d37f6af0ed6df5c1c3ee5
1 ; RUN: llc -filetype=obj %s -o - | obj2yaml | FileCheck %s
3 target triple = "wasm32-unknown-unknown"
5 define void @test() {
6   call void @foo()
7   call void @plain()
8   ret void
11 declare void @foo() #0
12 declare void @plain()
14 attributes #0 = { "wasm-import-module"="bar" "wasm-import-name"="qux" }
16 ; CHECK:        - Type:            IMPORT
17 ; CHECK-NEXT:     Imports:
18 ; CHECK:            - Module:          bar
19 ; CHECK-NEXT:         Field:           qux
20 ; CHECK-NEXT:         Kind:            FUNCTION
22 ; CHECK:            - Module:          env
23 ; CHECK-NEXT:         Field:           plain
24 ; CHECK-NEXT:         Kind:            FUNCTION
26 ; CHECK:        - Type:            CUSTOM
27 ; CHECK:              Name:            foo
28 ; CHECK-NEXT:         Flags:           [ UNDEFINED, EXPLICIT_NAME ]
30 ; CHECK:              Name:            plain
31 ; CHECK-NEXT:         Flags:           [ UNDEFINED ]