masahi edited a comment on pull request #7425:
URL: https://github.com/apache/tvm/pull/7425#issuecomment-784098499


   > Thanks @masahi ! the change has addressed my previous comments. Please add 
testcases to transforms that touches requires special While handling to cover 
these passes
   
   Yes, I'm still trying to figure out what `StorageRewrite` is doing. This 
pass is a beast :slightly_smiling_face: I think it is doing something like 
storage coalescing etc, and since this is purely for optimization (I think), 
I'm not sure what the "failure" means in this case.
   
   For example, we should definitely prevent invalid optimization. But I so far 
I'm having hard timing coming up with an example program that could fail. 
Anyone have any idea? Another example of failure is a missed optimization, I 
have an example where `For` loop coalesces but `While` loop does not 
https://github.com/apache/tvm/pull/7425#issuecomment-779798238
   
   I've also added a non trivial change to `StorageAccessVisitor` following the 
existing visitor for `IfThenElseNode`, I need to look at this class and its 
derived classes `ThreadSyncPlanner` etc


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to