[llvm] [WebAssembly] Implement lowering calls through funcref to call_ref when available (PR #162227)

Derek Schuff via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 14 16:24:48 PDT 2025


dschuff wrote:

Yeah, I'm pretty sure you stumbled across a bug. What happens if you take that .s file and try to assemble it with llvm-mc? It looks right (cf. [https://github.com/llvm/llvm-project/blob/main/llvm/test/MC/WebAssembly/tables.s](this test)). Maybe there's some field on the MCSymbolWasm that's not getting initialized or something like that?

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


More information about the llvm-commits mailing list