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

[Relay] Move pad value extraction past null pointer check #14445

Merged
merged 1 commit into from
Mar 31, 2023

Conversation

kparzysz-quic
Copy link
Contributor

In SimplifyExplicitPad, the pad_value pointer was dereferenced before checking if it's null or not. Move the dereference to past the check.

In SimplifyExplicitPad, the pad_value pointer was dereferenced before
checking if it's null or not. Move the dereference to past the check.
@tvm-bot
Copy link
Collaborator

tvm-bot commented Mar 31, 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.

Generated by tvm-bot

@masahi masahi merged commit 98007f9 into apache:main Mar 31, 2023
@kparzysz-quic kparzysz-quic deleted the pad-value-nullptr branch August 5, 2023 17:33
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.

3 participants