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