Skip to content
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

[TailDuplication] Add option to enable tail duplication of fallthrough BBs #727

Merged
merged 2 commits into from
Oct 30, 2024

Commits on Oct 29, 2024

  1. [TailDuplication] Add pre-commit test for Add option to enable tail d…

    …uplication of fallthrough BBs
    
    Signed-off-by: Vladimir Radosavljevic <[email protected]>
    vladimirradosavljevic committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    4581a01 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2024

  1. [TailDuplication] Add option to enable tail duplication of fallthroug…

    …h BBs
    
    During the TailDuplication pass, fallthrough BBs are
    not duplicated. This is generally acceptable, but in
    scenarios where a loop contains a large switch case
    and the latch BB is a fallthrough, duplicating the
    latch BB can eliminate jump instructions in its
    predecessors. This patch introduces the
    `tail-dup-fallthrough-bbs` option to enable the
    duplication of fallthrough BBs.
    
    PR: #727.
    
    Signed-off-by: Vladimir Radosavljevic <[email protected]>
    vladimirradosavljevic committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    2b28888 View commit details
    Browse the repository at this point in the history