Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LLVM support of the latest proposal #296

Open
yamt opened this issue Feb 16, 2024 · 1 comment
Open

LLVM support of the latest proposal #296

yamt opened this issue Feb 16, 2024 · 1 comment

Comments

@yamt
Copy link
Contributor

yamt commented Feb 16, 2024

is anyone working on updating llvm support to the latest proposal? (try_table/exnref style instructions)

@aheejin
Copy link
Member

aheejin commented Feb 16, 2024

I'm planning to work on it. In the meantime, we provide a translator in Binaryen that translates old binaries to the new ones. You can use it via wasm-opt --experimental-new-eh. This runs all other passes you specified and runs the translator at the end. This tool is new and still not very well tested, so it may have bugs. I'm in the process of testing it with larger programs. https://github.com/WebAssembly/binaryen/blob/feb8f24128c0c3bd53862b2f39acc5116f8ae87e/src/tools/wasm-opt.cpp#L245

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants