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

[tir] remove unused member variable #11248

Merged
merged 1 commit into from
May 9, 2022

Conversation

cconvey
Copy link
Contributor

@cconvey cconvey commented May 9, 2022

Remove unused member variable
tvm::tir::PackedCallLegalizer::tvm_value_index_.
This also fixes a GCC 7.5 compiler warning.

Remove unused member variable
`tvm::tir::PackedCallLegalizer::tvm_value_index_`.
This also fixes a GCC 7.5 compiler warning.
@@ -111,8 +111,7 @@ class PackedCallLegalizer : public StmtExprMutator {

private:
IRModule mod_;
InputMap inputs_; // Store the inputs to the primfunc that don't need to be packed.
int tvm_value_index_; // Index of the actual tvm_value variable
InputMap inputs_; // Store the inputs to the primfunc that don't need to be packed.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think this line only changed because clang-format removed some white-space.

@cconvey
Copy link
Contributor Author

cconvey commented May 9, 2022

@Hzfengsy @spectrometerHBH : Ready for commit.

@spectrometerHBH spectrometerHBH merged commit 29c6d93 into apache:main May 9, 2022
@cconvey cconvey deleted the remove-dead-code branch May 9, 2022 20:02
mehrdadh pushed a commit to mehrdadh/tvm that referenced this pull request May 16, 2022
Remove unused member variable
`tvm::tir::PackedCallLegalizer::tvm_value_index_`.
This also fixes a GCC 7.5 compiler warning.
shtinsa pushed a commit to Deelvin/tvm that referenced this pull request May 17, 2022
Remove unused member variable
`tvm::tir::PackedCallLegalizer::tvm_value_index_`.
This also fixes a GCC 7.5 compiler warning.
SebastianBoblest pushed a commit to SebastianBoblest/tvm that referenced this pull request May 27, 2022
Remove unused member variable
`tvm::tir::PackedCallLegalizer::tvm_value_index_`.
This also fixes a GCC 7.5 compiler warning.
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