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

   ## Why
   
   BufferReplacer passed strides and elem_offset through unchanged, so vars in 
them were never substituted
   
   ## How
   
   - Visit and rewrite each strides `expr` and `elem_offset` when rebuilding 
the buffer.
   - Add test covering the fix.


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