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

Martien.skippresched #230

Merged
merged 4 commits into from
Nov 7, 2024
Merged

Martien.skippresched #230

merged 4 commits into from
Nov 7, 2024

Conversation

martien-de-jong
Copy link
Collaborator

If we want to give the postpipeliner a chance on (bigger) loops that fall outside of the normal offloading criteria, we can add a disable pragma to which the pre-pipeliner responds. In that case we also want to disable the scheduler since its actions clutter the view of the postpipeliner

// The pipeliner is usually disabled to give the postpipeliner a chance.
// The prescheduler also clutters the view of the postpipeliner, so we skip
// such blocks here.
auto Skip = [](MachineBasicBlock *Block) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think about a command line option to disable this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We discussed that this is a user-pragma driven affair so that an option is not really necessary. Om second thought I perhaps add one anyway, so that we can easily assess the overall effect of prescheduling

Copy link
Collaborator

@andcarminati andcarminati left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@martien-de-jong martien-de-jong enabled auto-merge (rebase) November 7, 2024 13:05
@martien-de-jong martien-de-jong merged commit 1b74ec6 into aie-public Nov 7, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants