From f761b64963a426523b317ccaa5ee47732a584c85 Mon Sep 17 00:00:00 2001 From: Christian Convey Date: Mon, 9 May 2022 14:35:36 -0400 Subject: [PATCH] [tir] remove unused member variable (#11248) Remove unused member variable `tvm::tir::PackedCallLegalizer::tvm_value_index_`. This also fixes a GCC 7.5 compiler warning. --- src/tir/transforms/legalize_packed_calls.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/tir/transforms/legalize_packed_calls.cc b/src/tir/transforms/legalize_packed_calls.cc index 43cb1fb03fa2..344e6c7ae3cb 100644 --- a/src/tir/transforms/legalize_packed_calls.cc +++ b/src/tir/transforms/legalize_packed_calls.cc @@ -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 {