aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2015-11-23 16:19:56 +0000
committerDan Gohman <dan433584@gmail.com>2015-11-23 16:19:56 +0000
commit3280793234d1feb348596726ef2ee0cf1e6593d2 (patch)
tree72d491fc7ff5ed4fae536e2b18dcea4a3d68ade3 /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
parent2b561336d92ffcdfa37fb31ac2219975a1998a41 (diff)
downloadllvm-3280793234d1feb348596726ef2ee0cf1e6593d2.zip
llvm-3280793234d1feb348596726ef2ee0cf1e6593d2.tar.gz
llvm-3280793234d1feb348596726ef2ee0cf1e6593d2.tar.bz2
[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. llvm-svn: 253876
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions