This is an automated email from the ASF dual-hosted git repository.

tlopex pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/main by this push:
     new 3a5b4d4e64 [S-TIR] Remove unused meta-schedule annotation constants 
(#20022)
3a5b4d4e64 is described below

commit 3a5b4d4e64707a1528146e28c0fb75f45da99dd7
Author: Tianqi Chen <[email protected]>
AuthorDate: Sat Jul 18 04:19:30 2026 +0800

    [S-TIR] Remove unused meta-schedule annotation constants (#20022)
    
    This removes two declaration-only meta-schedule annotation families from
    the S-TIR header.
    
    These constants have no producers or consumers, so the change only
    removes dead C++ compile-time names and does not alter generated IR or
    lowering behavior.
    
    Validation:
    - exact identifier and literal absence searches
    - git diff --check
    - changed-file pre-commit and clang-format
    - fresh full configured CPU CMake/Ninja build
---
 include/tvm/s_tir/stmt.h | 17 -----------------
 1 file changed, 17 deletions(-)

diff --git a/include/tvm/s_tir/stmt.h b/include/tvm/s_tir/stmt.h
index 6eaee11ca0..ae5f2e8124 100644
--- a/include/tvm/s_tir/stmt.h
+++ b/include/tvm/s_tir/stmt.h
@@ -125,23 +125,6 @@ constexpr const char* meta_schedule_layout_rewrite_preproc 
= "meta_schedule.layo
  */
 constexpr const char* meta_schedule_auto_tensorize_init = 
"meta_schedule.auto_tensorize_init";
 
-/*! \brief Mark that tensor core is enabled in the PrimExpr */
-constexpr const char* meta_schedule_tensor_core_enabled = 
"meta_schedule.tensor_core_enabled";
-
-/*!
- * \brief Mark a block as generated by cache_read or cache_write block.
- * 0 means cache_read; 1 means cache_write.
- * \sa meta_schedule_cache_type_read
- * \sa meta_schedule_cache_type_write
- */
-constexpr const char* meta_schedule_cache_type = "meta_schedule.cache_type";
-
-/*! \sa meta_schedule_cache_type */
-constexpr const int meta_schedule_cache_type_read = 0;
-
-/*! \sa meta_schedule_cache_type */
-constexpr const int meta_schedule_cache_type_write = 1;
-
 /*! \brief Mark that a block is disallowed in auto inline. */
 constexpr const char* meta_schedule_inline_rule = "meta_schedule.inline_rule";
 

Reply via email to