Skip to content
  • Cheng Shao's avatar
    7e889a24
    compiler: enable generic cmm optimizations in wasm backend NCG · 7e889a24
    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)
    7e889a24
    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)
Loading