v5.1.0
- optimizer output now beats
wasm-opt -Oz— smaller in aggregate and on 18/20 corpus modules; a 5.5 MB module comes out 1.7% smaller outline— repeated pure expressions extract into shared helper functions- cross-block CSE — if-arms and blocks reuse values computed before them
tailmerge,rettail, parameter specialization,licm, guardeddevirtpasses- interprocedural effect summaries — known-effect calls no longer block sinking
- miscompile fixes: flat-form loop-header constant freeze,
if→selectevaluation order, barereturninlining, data zero-trim fencing - compile 4× — 0.19 s for a 5.5 MB module
- optimizer ~2× — maintained use-counts, content-hash convergence, statement summaries
watr.wasmbuilds with jz 0.8.1 and passes the full suite in-kernel
Full Changelog: v5.0.0...v5.1.0