[llvm] [WebAssembly] Print type signature and table for call_indirect (PR #179120)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 12 01:30:42 PST 2026
ParkHanbum wrote:
I've looked into the related issues further. Similarly, this log is based on the original source. As you can see, even when explicitly removing reference-types with -reference-types, the symbol is not being removed when it's a return_indirect_call.
```
$ bin/llc < rci.ll -mtriple=wasm32-- -asm-verbose=false -mattr=-reference-types,+tail-call -O2
.file "<stdin>"
.tabletype __indirect_function_table, funcref
.functype return_call_indirect (i32) -> (i32)
.section .text.return_call_indirect,"",@
.globl return_call_indirect
.type return_call_indirect, at function
return_call_indirect:
.functype return_call_indirect (i32) -> (i32)
local.get 0
return_call_indirect __indirect_function_table, () -> (i32)
end_function
```
https://github.com/llvm/llvm-project/pull/179120
More information about the llvm-commits
mailing list