Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
6700 commits behind, 436 commits ahead of the upstream repository.
  • Cheng Shao's avatar
    1373a403
    compiler: enable generic cmm optimizations in wasm backend NCG · 1373a403
    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)
    1373a403
    History
    compiler: enable generic cmm optimizations in wasm backend NCG
    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)
Wasm.hs 2.00 KiB