[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / ObjectYAML / wasm / import_memory_shared.yaml
blobb6ca9fa44f96ce51c34a202d167055a1ed3c7518
1 # RUN: yaml2obj %s | obj2yaml | FileCheck %s
2 --- !WASM
3 FileHeader:
4   Version:         0x00000001
5 Sections:
6   - Type:            TYPE
7     Signatures:
8       - Index:           0
9         ParamTypes:
10           - I32
11         ReturnTypes:
12           - I32
13   - Type:            IMPORT
14     Imports:
15       - Module:          foo
16         Field:           imported_memory
17         Kind:            MEMORY
18         Memory:
19           Flags:           [ HAS_MAX, IS_SHARED ]
20           Initial:         0x00000010
21           Maximum:         0x00000011
23 ...
24 # CHECK: --- !WASM
25 # CHECK: FileHeader:
26 # CHECK:   Version:           0x00000001
27 # CHECK: Sections:
28 # CHECK:   - Type:            IMPORT
29 # CHECK:     Imports:
30 # CHECK:       - Module:          foo
31 # CHECK:         Field:           imported_memory
32 # CHECK:         Kind:            MEMORY
33 # CHECK:         Memory:
34 # CHECK:           Flags:           [ HAS_MAX, IS_SHARED ]
35 # CHECK:           Initial:         0x00000010
36 # CHECK:           Maximum:         0x00000011
37 # CHECK: ...