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

NFC: ExtractIRForPassTest.py error reporting when pass not found #6325

Merged
merged 2 commits into from
May 24, 2024

Conversation

tex3d
Copy link
Contributor

@tex3d tex3d commented Feb 17, 2024

This just adds convenient error reporting to ExtractIRForPassTest.py when the specified pass is not found.

No functional change.

@tex3d tex3d requested a review from a team as a code owner May 22, 2024 00:06
@tex3d
Copy link
Contributor Author

tex3d commented May 22, 2024

In between making this PR and now, another change was merged (PR #6519) to throw when the pass name was not found. I still think this PR is valuable since it provides more detailed and useful reporting than the current state. If the pass name wasn't found, seeing the list of valid passes is very useful. Additionally, if the nth instance of a pass is desired, but not found, this provides much more useful reporting, instead of just saying that it wasn't found.

@tex3d tex3d enabled auto-merge (squash) May 23, 2024 17:31
@tex3d tex3d merged commit 128e6ce into microsoft:main May 24, 2024
12 checks passed
@pow2clk
Copy link
Member

pow2clk commented May 24, 2024

I think this counts as a functional change

@tex3d tex3d deleted the extract-ir-error-handling branch October 14, 2024 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants