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

   The TIR CSE pass currently lifts expressions like Cast(int32, 1) or Min(1, 
2) into a cse_v binding when they appear twice, even though they are 
compile-time constants and provide no CSE benefit. This pollutes the IR with 
bindings of the form cse_v = 1. Extend CSEPlanner::IsEligible to reject any 
expression whose subtree contains no Var.


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