[llvm] Add support for ref.func to AsmParser/MC (PR #163326)

Demetrius Kanios via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 15 12:07:43 PDT 2025


QuantumSegfault wrote:

I figured as much. That's the way it would have to been have done before "reference-types". 

However `ref.func` is most direct way to accomplish what I want in WASM, and was able to easily make use of it with Binaryen. Now I'm trying to use the same direct approach with LLVM.

----

I'm leaning towards `addrspacecast` for the IR-level lowering.

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


More information about the llvm-commits mailing list