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