tqchen opened a new pull request, #20468: URL: https://github.com/apache/tvm/pull/20468
## Summary Replace the TargetTag object and AttrRegistry-based registration with a state-owning C++ TagRegistry singleton. The registry stores tag configurations, protects duplicate registration unless override is explicit, and resolves tags through the existing target construction paths. Keep the Python `register_tag` and `list_tags` API and the two existing FFI globals. Remove the unused TargetTag wrapper and registration macro. ## Validation - LLVM-enabled Release build passed. - `tests/python/target/test_target_target.py`: 40 passed, 9 skipped. - clang-format, ruff, and diff checks passed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
