summaryrefslogtreecommitdiff
path: root/src/wasm.cpp
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-09-08 17:20:23 -0700
committerAlon Zakai <alonzakai@gmail.com>2016-09-09 11:16:54 -0700
commit1775473f735f40412899676469f3d7e8fbba93dc (patch)
tree68df0944925eeecd08ec4d78a677c9bb8faf3272 /src/wasm.cpp
parent2065ecbe1ad951dc7263f76040b085019423ada9 (diff)
downloadbinaryen-1775473f735f40412899676469f3d7e8fbba93dc.tar.gz
binaryen-1775473f735f40412899676469f3d7e8fbba93dc.tar.bz2
binaryen-1775473f735f40412899676469f3d7e8fbba93dc.zip
optimize loop endings in RemoveUnusedBrs
* rotate an if near the end of a loop as it can let a break out flow naturally and be removable * turn a br_if into an if it allows such an optimization in cases where it helps remove other structures
Diffstat (limited to 'src/wasm.cpp')
0 files changed, 0 insertions, 0 deletions