New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-87092: reduce redundancy and repetition in compiler's optimization stage #96713
Conversation
…ion. Add no_empty_basic_blocks assertion and replace one eliminate_empty_basic_blocks with it
…cks part because that's the responsibility of eliminate_empty_basic_blocks
|
If you want to schedule another build, you need to add the " |
…ks with linenos too.
|
If you want to schedule another build, you need to add the " |
|
@markshannon buildbots all pass with this. Any further comments? |
|
If you want to schedule another build, you need to add the " |
eliminate_empty_basic_blocksby an assertion that there are no empty blockseliminate_empty_basic_blockslogicclean_basic_block-->remove_redundant_nopsfor claritynormalize_basic_block-->check_cfgand reduce it to only check (not remove empty blocks).extend_block-->inline_small_exit_blocks. Make it inline blocks with linenos too (as it used to until bde06e1).IS_UNCONDITIONAL_JUMP_OPCODEmacro in a couple of places instead of checking precise opcodes