You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/01/25 18:56:10 UTC
[GitHub] [tvm] Icemist commented on a change in pull request #10059: Clear warnings when building with MSVC
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: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org