Forked from
Glasgow Haskell Compiler / GHC
6700 commits behind, 436 commits ahead of the upstream repository.
-
Cheng Shao authored
This commit enables the generic cmm optimizations in other NCGs to be run in the wasm backend as well, followed by a late cmm control-flow optimization pass. The added optimizations do catch some corner cases not handled by the pre-NCG cmm pipeline and are useful in generating smaller CFGs. (cherry picked from commit c6ce242e)
Cheng Shao authoredThis commit enables the generic cmm optimizations in other NCGs to be run in the wasm backend as well, followed by a late cmm control-flow optimization pass. The added optimizations do catch some corner cases not handled by the pre-NCG cmm pipeline and are useful in generating smaller CFGs. (cherry picked from commit c6ce242e)
Wasm.hs 2.00 KiB