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

Improve the Pass system #1645

Merged
merged 19 commits into from
Sep 5, 2024
Merged

Improve the Pass system #1645

merged 19 commits into from
Sep 5, 2024

Conversation

maximiliankaul
Copy link
Contributor

@maximiliankaul maximiliankaul commented Aug 7, 2024

This PR cleans up the pass ordering system. It removes some logic bugs and tries to keep a strict separation between files (TranslationConfiguration does not do the ordering logic, ...)
New features:

  • ExecuteLate annotation.
  • ExecuteBefore now has soft/hard dependencies.
  • Passes (their KClass) can now be queried for isFirstPass, softDependencies, ...

Fixes #1641

Todo;

  • Clean up
  • Mermaid @oxisto do we still want this, or is the current output ok?
  • move first / last out of workingList
  • Think about unjustifiable dependencies (soft dependency not registered)
  • implement soft / hard for ExecuteBefore as requested by @KuechA

@maximiliankaul maximiliankaul self-assigned this Aug 28, 2024
@maximiliankaul maximiliankaul marked this pull request as ready for review September 4, 2024 11:49
@maximiliankaul maximiliankaul changed the title implement ExecuteLate Improve the Pass system Sep 4, 2024
Copy link
Member

@oxisto oxisto left a comment

Choose a reason for hiding this comment

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

only minor formatting issues.

Copy link
Member

@oxisto oxisto left a comment

Choose a reason for hiding this comment

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

LGTM except the minor formatting issues int he mermaid file that should be resolved first.

Copy link

sonarcloud bot commented Sep 5, 2024

@oxisto oxisto merged commit e36b64d into main Sep 5, 2024
3 checks passed
@oxisto oxisto deleted the mk/latePasses branch September 5, 2024 06:25
maximiliankaul added a commit that referenced this pull request Sep 5, 2024
oxisto pushed a commit that referenced this pull request Sep 6, 2024
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.

Implement latePass annotation
2 participants