|
1 | 1 | ; RUN: llc < %s -mcpu=mvp | FileCheck %s --check-prefixes MVP
|
2 | 2 | ; RUN: llc < %s -mcpu=generic | FileCheck %s --check-prefixes GENERIC
|
| 3 | +; RUN: llc < %s -mcpu=trail1 | FileCheck %s --check-prefixes TRAIL1 |
3 | 4 | ; RUN: llc < %s | FileCheck %s --check-prefixes GENERIC
|
4 | 5 | ; RUN: llc < %s -mcpu=bleeding-edge | FileCheck %s --check-prefixes BLEEDING-EDGE
|
5 | 6 |
|
@@ -33,6 +34,31 @@ target triple = "wasm32-unknown-unknown"
|
33 | 34 | ; GENERIC-NEXT: .int8 8
|
34 | 35 | ; GENERIC-NEXT: .ascii "sign-ext"
|
35 | 36 |
|
| 37 | +; trail1: +bulk-memory-opt, +call-indirect-overlong, +extended-const, +multivalue, +mutable-globals, +nontrapping-fptoint, +sign-ext |
| 38 | +; TRAIL1-LABEL: .custom_section.target_features,"",@ |
| 39 | +; TRAIL1-NEXT: .int8 6 |
| 40 | +; TRAIL1-NEXT: .int8 43 |
| 41 | +; TRAIL1-NEXT: .int8 15 |
| 42 | +; TRAIL1-NEXT: .int8 "bulk-memory-opt" |
| 43 | +; TRAIL1-NEXT: .int8 43 |
| 44 | +; TRAIL1-NEXT: .int8 22 |
| 45 | +; TRAIL1-NEXT: .int8 "call-indirect-overlong" |
| 46 | +; TRAIL1-NEXT: .int8 43 |
| 47 | +; TRAIL1-NEXT: .int8 14 |
| 48 | +; TRAIL1-NEXT: .ascii "extended-const" |
| 49 | +; TRAIL1-NEXT: .int8 43 |
| 50 | +; TRAIL1-NEXT: .int8 10 |
| 51 | +; TRAIL1-NEXT: .ascii "multivalue" |
| 52 | +; TRAIL1-NEXT: .int8 43 |
| 53 | +; TRAIL1-NEXT: .int8 15 |
| 54 | +; TRAIL1-NEXT: .ascii "mutable-globals" |
| 55 | +; TRAIL1-NEXT: .int8 43 |
| 56 | +; TRAIL1-NEXT: .int8 19 |
| 57 | +; TRAIL1-NEXT: .ascii "nontrapping-fptoint" |
| 58 | +; TRAIL1-NEXT: .int8 43 |
| 59 | +; TRAIL1-NEXT: .int8 8 |
| 60 | +; TRAIL1-NEXT: .ascii "sign-ext" |
| 61 | + |
36 | 62 | ; bleeding-edge: +atomics, +bulk-memory, +exception-handling, +extended-const,
|
37 | 63 | ; +fp16, +multimemory, +multivalue, +mutable-globals,
|
38 | 64 | ; +nontrapping-fptoint, +relaxed-simd, +reference-types,
|
|
0 commit comments