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

   `StaticPlanBlockMemory` tracks `relax.reshape` as an alias of its input 
storage, but did not recognize direct calls to `vm.builtin.reshape`. 
`DispatchSortScan` emits these packed reshape calls before static memory 
planning. Without alias tracking, the planner could reuse the input storage 
while the reshaped view was still live, allowing later allocations to overwrite 
its contents.
   
   This PR:
   - Recognizes `vm.builtin.reshape` as a storage-aliasing operation
   - Preserves the input storage token through the reshape result
   - Updates the dynamic-output expected IR for the corrected planning path


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