jinhongyii opened a new pull request, #20069:
URL: https://github.com/apache/tvm/pull/20069

   ## Motivation and context
   
   ConvertSSA caches remapped buffers while an SSA-renamed variable is in 
scope. Cleanup previously removed a cached buffer only when the renamed 
variable was its data pointer, so remaps through other buffer fields could 
survive after scope exit.
   
   ## Changes
   
   - Track dependencies in every buffer field rewritten by `GetRemappedBuffer`, 
including shape, strides, element offset, and tile layout fields.
   - Invalidate cached remaps consistently when an SSA-renamed variable leaves 
scope.
   - Add a regression using reused sibling loop variables and a 
variable-dependent element offset.
   
   ## Testing
   
   - `python -m pytest 
tests/python/tirx-transform/test_tir_transform_convert_ssa.py`
   - Changed-files pre-commit checks


-- 
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]

Reply via email to