Files
tilelang/testing/python/language
KurisandClaude Opus 4.6 dc60ab8f04 [Bugfix] Fix alloc_var re-bind warning when assigned with comparison ops (#1974)
* [Bugfix] Fix alloc_var re-bind warning when assigned with comparison ops

EqualOp/NotEqualOp (returned by BufferLoad == / !=) are not PrimExpr
subclasses, so `bind()` missed the alloc_var store path and fell through
to `bind_immutable`, triggering a spurious "Immutable value is re-bound"
warning.

Convert them to PrimExpr via `.asobject()` before the store check.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Fix pre-commit lint: double quotes, remove redundant parens

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Fix ruff format

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-27 11:17:21 +08:00
..