summaryrefslogtreecommitdiff
path: root/scripts/port_passes_tests_to_lit.py
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2023-07-26 14:11:51 -0700
committerGitHub <noreply@github.com>2023-07-26 21:11:51 +0000
commitafcbad033912e9a9201903525aba06f10d65c584 (patch)
treed10762001576fe4e9d109fe728311fddfbeb8f48 /scripts/port_passes_tests_to_lit.py
parentc015c9fee1e0af4d3a1da2ff435b020ff107abd8 (diff)
downloadbinaryen-afcbad033912e9a9201903525aba06f10d65c584.tar.gz
binaryen-afcbad033912e9a9201903525aba06f10d65c584.tar.bz2
binaryen-afcbad033912e9a9201903525aba06f10d65c584.zip
CFGWalker: Allow users to ignore branches outside the function [NFC] (#5838)
A pass that just operates on locals, for example, does not care about branches outside of the function. That means that when we see a call, then even if EH is enabled we don't need to create a new basic block right after it (unless the call is inside a try-catch - then it might branch to the catch, of course). This makes CFG-using passes 9% faster compared to before this PR. This plus #5827 offset the slowdown from #5823 and overall give an improvement compared to before.
Diffstat (limited to 'scripts/port_passes_tests_to_lit.py')
0 files changed, 0 insertions, 0 deletions