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

Reverts WebAssembly/binaryen#4889 The spec is unclear on this, and that PR moved us to do what V8 does. But it sounds like we should clarify the spec to do things...

[Multiple Memories for Wasm Proposal](https://github.com/WebAssembly/multi-memory/blob/main/proposals/multi-memory/Overview.md) This PR removes the single memory restriction in IR, adding support for a single module to reference multiple memories. To support this change, a new...

At current moment, we can produce such code: ```wat (func (export "a") $a (param $0 v128) (result v128) ;; [v128] -> [v128] local.get $0 local.get $0 i32x4.mul ) ``` But...

It doesn't appear that binaryen's AST has a way to include [reloc sections](https://github.com/WebAssembly/tool-conventions/blob/master/Linking.md#relocation-sections). What's everyone doing today with binaryen? (not using LLVM) Didn't see any discussions around a desire to...

Like the 8-bit array variants, it takes 3 parameters.

For now this index is always 0, but we must emit it. Spec: https://github.com/WebAssembly/stringref/blob/main/proposals/stringref/Overview.md#binary-encoding Also clean up the wat test a little - we don't have validation yet, but we...

It looks like simplify global pass doesn't take into account v128 types. For example: ```wat (module (global $g (mut v128) (v128.const i32x4 0x00000000 0x00000000 0x00000000 0x00000000)) (start $~start) (func (export...

Is it possible doing some trivial logical simplifications for now? Or better wait souper with z3 solver for that? like simplify from: ```wat (func $test (export "test") (type $t0) (param...

Any filename that shows up in a command that we log for the user should be an absolute path, so that the user can just copy and paste the command....

Hi @kripken & @sbc100 ! As described in https://github.com/WebAssembly/binaryen/issues/4165#issuecomment-1176486775, this is the change that wraps the `std::set` in the `SmallSetBase` into a std::optional to avoid the heap allocation that creates...