diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-09-08 17:20:23 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-09-09 11:16:54 -0700 |
commit | 1775473f735f40412899676469f3d7e8fbba93dc (patch) | |
tree | 68df0944925eeecd08ec4d78a677c9bb8faf3272 /src/shared-constants.h | |
parent | 2065ecbe1ad951dc7263f76040b085019423ada9 (diff) | |
download | binaryen-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/shared-constants.h')
0 files changed, 0 insertions, 0 deletions