Alon Zakai
Alon Zakai
So far this hasn't come up because e.g. C++ users can recompile to switch between wasm exceptions and not, but if there are toolchains that only emit exceptions then I...
There isn't a full multivalue lowering pass, but TupleOptimization will remove unneeded uses of multivalue inside functions. That leaves multivalue uses between functions, multivalue for exceptions, and a few other...
In general we do this through the `MIN_FIREFOX_VERSION, MIN_CHROME_VERSION` etc. settings' default values. If a feature works in all relevant versions of all major browsers, we can enable it by...
@brendandahl what do you think?
I think there is a lot of potential here! Btw, I remembered in https://github.com/WebAssembly/binaryen/issues/7637#issuecomment-2940584308 that our dataflow IR may be useful here, which is SSA-like: https://github.com/WebAssembly/binaryen/tree/main/src/dataflow There is a simple...
There is now a proposal to add wasm input to upstream LLVM: https://discourse.llvm.org/t/rfc-mlir-dialect-for-webassembly/86758 If accepted, that could be very useful here, as it would let some wasm modules be read...
wasm constants do not have a sign, they are basically just bits, so they can be printed in text as either signed or unsigned. Either way, the bits in this...
> I have attempted the following solutions: Re-generating the WebAssembly file with minimal features. That should work. If it does not then something else is going on rather than features....
`--llvm-nontrapping-fptoint-lowering` is in `wasm-opt` from the very latest version of binaryen. Make sure you are not using an earlier version.
Is there a way to debug something like this without big-endian hardware? If not, at least [reducing](https://github.com/WebAssembly/binaryen/wiki/Fuzzing#reducing) it on your side would be helpful - a tiny testcase could make...