Skip to content

version_42: Global optimization fixes (#1360)

Choose a tag to compare

@kripken kripken released this 17 Jan 23:06
0a9ddae
* run dfe at the very end, as it may be more effective after inlining

* optimize reorder-functions

* do a final dfe in asm2wasm after all other opts

* make inlining deterministic: std::atomic<T> values are not zero-initialized

* do global post opts at the end of asm2wasm, and don't also do them in the module builder

* fix function type removing

* don't inline+optimize when preserving debug info