Open juj opened 3 years ago
This issue has been automatically marked as stale because there has been no activity in the past year. It will be closed automatically if no further activity occurs in the next 30 days. Feel free to re-open at any time if this issue is still relevant.
Building juj/wasm_webgpu@4c2600b clear_screen sample for testing WebGPU on Wasm2JS, I notice the following kind of statements appear:
There are these asm.js style
$0 = $0 | 0;
and$1 = $1 | 0;
statements, which do not go away with closure:Here
is redundant, the
$1 = $1 | 0;
part could be dropped. Also applying the missed optimization #13363 could giveThen again
looks redundant,
$0
is already i32, so would not need coerced again (and the callee prelude will also coerce it once more)