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

[Analysis] Improve error message in VerifyWellFormed #14389

Merged
merged 1 commit into from
Mar 30, 2023

Conversation

Lunderberg
Copy link
Contributor

Previously, the error message gave the name of the variable that should not be used within the current block. This commit updates the error message to also state where that variable was defined, and which block contains the erroneous use of the variable.

@tvm-bot
Copy link
Collaborator

tvm-bot commented Mar 23, 2023

Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.

  • No users to tag found in teams: analysis See #10317 for details

Generated by tvm-bot

@Hzfengsy
Copy link
Member

Thanks @Lunderberg for the improvement. BTW, could you please send this PR to main instead of unity as it's not relax-related at all

@Lunderberg Lunderberg changed the base branch from unity to main March 24, 2023 13:10
Previously, the error message gave the name of the variable that
should not be used within the current block.  This commit updates the
error message to also state where that variable was defined, and which
block contains the erroneous use of the variable.
@Lunderberg Lunderberg force-pushed the unity_well_formed_error_message branch from 3162551 to badfbce Compare March 24, 2023 13:11
@Lunderberg Lunderberg changed the title [Unity] Improve error message in VerifyWellFormed [Analysis] Improve error message in VerifyWellFormed Mar 24, 2023
@Lunderberg
Copy link
Contributor Author

Thank you for the catch, and the PR is now rebased onto main, and set to merge into main instead of unity.

@Lunderberg
Copy link
Contributor Author

@tvm-bot rerun

1 similar comment
@Lunderberg
Copy link
Contributor Author

@tvm-bot rerun

@masahi masahi merged commit fafe39d into apache:main Mar 30, 2023
@Lunderberg Lunderberg deleted the unity_well_formed_error_message branch March 30, 2023 14:07
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.

4 participants