You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by tq...@apache.org on 2026/10/15 14:14:32 UTC
(tvm) 27/33: [FIX][IR] Keep the name-supply template constructor local to consumers
This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a commit to branch tirx/standalone-package-cleanup
in repository https://gitbox.apache.org/repos/asf/tvm.git
commit c5f78007c509661f4f00a289443e90acf01988f9
Author: Tianqi Chen <tq...@users.noreply.github.com>
AuthorDate: Thu Oct 15 07:54:10 2026 +0000
[FIX][IR] Keep the name-supply template constructor local to consumers
---
tirx/include/tvm/ir/unique_name_supply.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tirx/include/tvm/ir/unique_name_supply.h b/tirx/include/tvm/ir/unique_name_supply.h
index b0cadde29c..cc5a8f3745 100644
--- a/tirx/include/tvm/ir/unique_name_supply.h
+++ b/tirx/include/tvm/ir/unique_name_supply.h
@@ -128,7 +128,7 @@ class UniqueNameSupply : public ffi::ObjectRef {
* The functor should return the name of the dereferenced object.
*/
template <typename Iter, typename Lambda>
- TVM_TIRX_DLL UniqueNameSupply(Iter begin, Iter end, Lambda f) : UniqueNameSupply("") {
+ UniqueNameSupply(Iter begin, Iter end, Lambda f) : UniqueNameSupply("") {
for (auto it = begin; it != end; ++it) {
this->operator->()->ReserveName(f(*it), false);
}