[llvm] [WebAssembly] Add call_ref (0x14) and return_call_ref (0x15) (PR #195942)

Demetrius Kanios via llvm-commits llvm-commits at lists.llvm.org
Wed May 6 01:17:07 PDT 2026


QuantumSegfault wrote:

> Please let me know how you'd like to proceed. If you're able to make progress on your PR I'm happy to have disassembly support land through that. If that needs more work, I'd love to get LLDB unblocked with this smaller subset.

I think it's reasonable to split the PR in two. MC changes independent of codegen, help get things going. Though I would ask that you bring `ref.cast` over here as well then.

Also, `call_ref` didn't get introduced until after `reference_types`. Came with `function_references`, which seems to have just been rolled into WasmGC (never got independent merge/acceptance?). You'll see I used `HasGC` in my PR.

Either that, or maybe I just port that extra disasm test you have over, I do the basic testing without trying to fix the current broken thing. I mean, if it doesn't work right now anyway, then its certainly not going to have any adverse effects on existing code. The PR should be fully functional (except it needs to be rebased). It was all good and done until it got stalled. Which makes more sense to you?

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


More information about the llvm-commits mailing list