WebAssembly / WebAssembly/binaryen
emited text contains tuple instructions even when using --intrinsic-lowering
Nobody has claimed this yet.
- Dominant language
- WebAssembly
- Stars
- 8.6k
- Forks
- 885
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 69
Description
Hi,
I'm running Binaryen with -S (because I'm using a combination of proposals not handled by other tools yet) in order to debug some code. I added the --intrinsic-lowering flag, hoping it would remove the tuples and use locals or whatever instead but it seems this is not the case.
Is there a way to get rid of them in the text format generated by Binaryen? Binaryen is able to produce a binary file so what I'd like is to get the equivalent text format.
This is related to #6016 but it's really not helping me.
Thanks!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with Binaryen's -S and --intrinsic-lowering flags, and read the discussion in #6016 for related context. Trace the text-output path and intrinsic-lowering entry point; done means the generated text no longer contains tuple instructions while remaining equivalent to the produced binary.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- wasm
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100