Skip to content

Conversation

andcarminati
Copy link
Collaborator

This is a trial to get a more consistent behavior for the PreRA Scheduler. Currently, for example. Now, we will look only to Post-SWP potential candidates to skip the pre scheduler. The affected test also shows that we could prevent pre-scheduling of non-ZOL loops with the current approach.

@@ -190,4 +190,51 @@ bool hasUnrollPragma(const Loop *L) {
return false;
}

/// Check if this block is a post-SWP candidate.
bool isPostSWPCandidate(const AIEBaseInstrInfo &TII,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Some refactoring opportunities.

mgehre-amd pushed a commit that referenced this pull request Aug 21, 2025
…ng ub.posion (#429)

Values of opaque type are currently initialized to integers, which may be invalid. Instead, lower them using brace-initializers. The emitc code will represent C++.
@F-Stuckmann
Copy link
Collaborator

I like where this PR is heading. We just have to check out QoR numbers

@andcarminati andcarminati force-pushed the andreu.better.control.presched branch from b1428ca to f7f5824 Compare September 12, 2025 13:05
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