[WebAssembly] Use dominator information to improve BLOCK placement

Description

[WebAssembly] Use dominator information to improve BLOCK placement

Always starting blocks at the top of their containing loops works, but creates
unnecessarily deep nesting because it makes all blocks in a loop overlap.
Refine the BLOCK placement algorithm to start blocks at nearest common
dominating points instead, which significantly shrinks them and reduces
overlapping.

Details

Committed
djgNov 23 2015, 8:19 AM
Parents
rL253875: [mips] .ent and .end should also set the type and size of the symbol…
Branches
Unknown
Tags
Unknown