Skip to content

v5.1.0

Choose a tag to compare

@dy dy released this 03 Jul 15:45
  • 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, guarded devirt passes
  • interprocedural effect summaries — known-effect calls no longer block sinking
  • miscompile fixes: flat-form loop-header constant freeze, ifselect evaluation order, bare return inlining, 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.wasm builds with jz 0.8.1 and passes the full suite in-kernel

Full Changelog: v5.0.0...v5.1.0