binaryen icon indicating copy to clipboard operation
binaryen copied to clipboard

Optimizer and compiler/toolchain library for WebAssembly

Results 356 binaryen issues
Sort by recently updated
recently updated
newest added

Its really hard to see the wood for the tree. For example these strings seem to appear hundreds of times in the output: ``` warning: no output file specified, not...

Hmm, unfortunate that `StackSignature` does not store `params` and `results` as a `Signature` we could just reuse here. Probably not worth fixing in this PR, though. _Originally posted by @tlively...

What is this `build` for? It's fishy that you aren't using the result for anything. _Originally posted by @tlively in https://github.com/WebAssembly/binaryen/pull/6110#discussion_r1390312530_

Just realized that it would be possible to replace this state enum with a single `IRBuilder* currBuilder` field that is either `&outlinedBuilder`, `&existingBuilder`, or `nullptr`. `getCurrentState` would simply set `currBuilder`...

It might be simpler to just call `filter` once from `Outlining::run` and pass it a lambda that contains all the various filters. I don't feel strongly, though. The current code...

I'm generating some working WebAssembly code that fails if I try to run the default optimization passes. The code uses WASM GC, and there are no warnings or errors on...

https://app.circleci.com/pipelines/github/emscripten-core/emsdk/2084/workflows/2e280ca8-1c22-435f-b602-58142371adba/jobs/12495 Some kind of issue with std::variant: ``` [ 95%] Building CXX object src/tools/CMakeFiles/wasm-opt.dir/wasm-opt.cpp.o In file included from /root/project/binaryen/main/src/tools/wasm-fuzz-lattices.cpp:21:0: /usr/include/c++/7/variant: In instantiation of 'constexpr const size_t std::variant_size_v': /usr/include/c++/7/variant:702:10: required from...

Hello there, I recently came across a Wasm module which cannot be parsed by Binaryen: ```wasm $ wabt/bin/wasm2wat test.wasm (module (type (;0;) (func (result i32))) (type (;1;) (func (param i32)...

Add `Powerset2` that implements the lattice of sets concretely represented as `Set` ordered by subset as well as the full lattice `FinitePowerset2` that is additionally configurted with the universe of...

There is a dart binary that takes extremely long to optimize with this command: ``` wasm-opt -g -all --closed-world -tnh --type-unfinalizing -O3 --type-ssa --gufa -O3 --type-merging -O1 --type-finalizing ``` Most...