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

[RTG][Elaboration] Improve how tests are matched with targets #8391

Open
wants to merge 1 commit into
base: maerhart-rtg-randomized-sequences-as-identity-values
Choose a base branch
from

Conversation

maerhart
Copy link
Member

@maerhart maerhart commented Apr 4, 2025

  • Tests can now carry a string identifying the original test name because a test can be cloned to test multiple targets. This is useful for result reporting
  • Tests can now specify a fixed target. Before elaboration it acts as a restriction to only be elaborated against that target, after elaboration it specifies for which target the test was elaborated.
  • The body of a target is not copied into the tests anymore. This allows us to materialize operations that are only legal in targets and keep them until later in the pipeline.
  • The test <-> target matching now supports a kind of 'subtyping'
  • Remove the special casing for tests without requirements.

@maerhart maerhart added the RTG Involving the `rtg` dialect label Apr 4, 2025
@maerhart maerhart requested review from youngar and darthscsi April 4, 2025 12:25
@maerhart maerhart force-pushed the maerhart-rtg-improved-test-matching branch from 7074aef to 4d80bbd Compare April 4, 2025 13:21
@maerhart maerhart force-pushed the maerhart-rtg-improved-test-matching branch from 4d80bbd to 49afef6 Compare April 4, 2025 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RTG Involving the `rtg` dialect
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant