brintos

brintos / llvm-project-archived public Read only

0
0
Text · 837 B · 1b4fc30 Raw
27 lines · plain
1# RUN: llvm-mc -triple=wasm32-unknown-unknown -filetype=obj -o %t.o -mattr=+simd128,+nontrapping-fptoint,+exception-handling < %s2# RUN: llvm-objdump --triple=wasm32-unknown-unknown -d %t.o | FileCheck %s3 4test0:5    .functype   test0 (i32, i64) -> (f32)6    .local      f32, f64, v128, v1287    local.get   28    end_function9 10test1:11    .functype   test1 (i32, i64) -> (i64)12    .local      i32, i64, funcref13    local.get   314    end_function15 16 17# CHECK-LABEL: CODE:18# CHECK:             # 2 functions in section.19# CHECK-LABEL: <test0>:20# CHECK-NEXT:        .local  f32, f64, v128, v12821# CHECK-NEXT:       9:       20 02  local.get	222# CHECK-NEXT:       b:       0b     end23# CHECK-LABEL: <test1>:24# CHECK-NEXT:        .local  i32, i64, funcref25# CHECK-NEXT:      14:       20 03  local.get	326# CHECK-NEXT:      16:       0b     end27