Skip to content

Commit

Permalink
[tir] remove unused member variable (apache#11248)
Browse files Browse the repository at this point in the history
Remove unused member variable
`tvm::tir::PackedCallLegalizer::tvm_value_index_`.
This also fixes a GCC 7.5 compiler warning.
  • Loading branch information
Christian Convey authored and Sergey Shtin committed May 17, 2022
1 parent 02bb551 commit 990c0a0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/tir/transforms/legalize_packed_calls.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
};

namespace transform {
Expand Down

0 comments on commit 990c0a0

Please sign in to comment.