Icemist commented on a change in pull request #10059:
URL: https://github.com/apache/tvm/pull/10059#discussion_r792026896
##########
File path: include/tvm/ir/expr.h
##########
@@ -374,6 +374,12 @@ inline Bool operator&&(const Bool& a, const Bool& b) {
return Bool(a.operator bool() && b.operator bool());
}
+inline Bool operator==(const Bool& a, bool b) { return Bool(a.operator bool()
== b); }
Review comment:
Good point. Done.
--
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]