Lunderberg commented on PR #13299:
URL: https://github.com/apache/tvm/pull/13299#issuecomment-1942085566

   @LeiWang1999 We did, yes.  It's located 
[here](https://github.com/apache/tvm/blob/main/src/tir/transforms/simplify.h#L38).
   
   That said, in most cases it's better to apply 
[`tir::transform::Simplify`](https://github.com/apache/tvm/blob/main/src/tir/transforms/simplify.h#L38)
 instead.  That way, the full context is available for a single simplification 
call.  Simplifying a statement in isolation may miss context-dependent 
simplifications.  (e.g. Within an `if i==0` block, `if i + 1 < 16` could be 
simplified to to `True`.)


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

Reply via email to