yongfeng-nv commented on a change in pull request #5367:
URL: https://github.com/apache/incubator-tvm/pull/5367#discussion_r413205094
##########
File path: src/arith/int_set.cc
##########
@@ -518,7 +533,14 @@ class IntervalSetEvaluator :
// whether set is exactly single point that equals value.
bool MatchPoint(const IntervalSet& set,
const PrimExpr& value) const {
- return set->min_value.same_as(value) && set->max_value.same_as(value);
+ if (set->min_value.same_as(value) && set->max_value.same_as(value)) {
Review comment:
Make sense. I will keep the .same_as(value) calls for performance and
use CanProve for the additional comparison.
----------------------------------------------------------------
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]