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

Look for child targets in TargetOperationPass #86

Merged
merged 2 commits into from Apr 13, 2023

Conversation

mbhealy
Copy link
Contributor

@mbhealy mbhealy commented Apr 4, 2023

This PR adds a search for child targets during the getTargetSystemOrFail() method of TargetOperationPass. This gets around the limitation of the target registration and search system that parent classes of targets cannot be gotten easily.

@mbhealy mbhealy requested review from jgsogo and kitbarton April 4, 2023 16:49
@mbhealy
Copy link
Contributor Author

mbhealy commented Apr 4, 2023

This should be considered a draft currently. Talking with @jgsogo about future options.

@github-actions
Copy link
Contributor

github-actions bot commented Apr 4, 2023

clang-tidy review says "All clean, LGTM! 👍"

@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@mbhealy
Copy link
Contributor Author

mbhealy commented Apr 13, 2023

In the interest of moving forward I think this should be merged as-is. I will file an issue for removing the need for it by shifting to a global target pointer and accessors.

Copy link
Collaborator

@kitbarton kitbarton left a comment

Choose a reason for hiding this comment

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

LGTM.

@mbhealy mbhealy merged commit ace34ab into main Apr 13, 2023
2 checks passed
@mbhealy mbhealy deleted the mbh-child-targetoperationpass branch April 13, 2023 15:27
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.

None yet

2 participants