[llvm] [WebAssembly] Print type signature and table for call_indirect (PR #179120)

via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 13 23:12:06 PST 2026


================

----------------
ParkHanbum wrote:

As you mentioned, the output has likely increased due to the CPU's default settings. I modified it as follows based on sign-ext, but I'm wondering if it's okay to use it this way.
```
       .no_dead_strip  __indirect_function_table
       .section        .custom_section.target_features,"",@
       .int8   9
       .int8   43
       .int8   11
       .ascii  "bulk-memory"
       .int8   43
       .int8   15
       .ascii  "bulk-memory-opt"
       .int8   43
       .int8   22
       .ascii  "call-indirect-overlong"
       .int8   43
       .int8   10
       .ascii  "multivalue"
       .int8   43
       .int8   15
       .ascii  "mutable-globals"
       .int8   43
       .int8   19
       .ascii  "nontrapping-fptoint"
       .int8   43
       .int8   15
       .ascii  "reference-types"
       .int8   43
       .int8   8
       .ascii  "sign-ext"
       .int8   43
       .int8   9
       .ascii  "tail-call"
       .section        .text.unique_caller,"",@
```


```
; CHECK-LABEL: .section .custom_section.target_features
; CHECK: .ascii  "sign-ext"
; CHECK-NEXT: .int8   43
; CHECK-NEXT: .int8   9
; CHECK-NEXT: .ascii  "tail-call"

```

https://github.com/llvm/llvm-project/pull/179120


More information about the llvm-commits mailing list