Skip to content

Commit

Permalink
remove additional log
Browse files Browse the repository at this point in the history
  • Loading branch information
tqchen committed Jun 7, 2019
1 parent 0e5701f commit a037c77
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/arithmetic/analyzer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ bool Analyzer::CanProveGreaterEqual(const Expr& expr, int64_t lower_bound) {
return ptr->value > lower_bound;
}
auto bd = this->const_int_bound(this->rewrite_simplify(expr));
LOG(INFO) << bd;
if (bd->min_value >= lower_bound) return true;
return false;
}
Expand Down
3 changes: 1 addition & 2 deletions src/arithmetic/int_set.cc
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ IntervalSet Intersect(Analyzer* analyzer, IntervalSet a, IntervalSet b) {
Expr max_value = min(a->max_value, b->max_value);
Expr min_value = max(a->min_value, b->min_value);
if ((max_value.type().is_int() || max_value.type().is_uint()) &&
(min_value.type().is_int() || max_value.type().is_uint()) &&
(min_value.type().is_int() || min_value.type().is_uint()) &&
analyzer->CanProveGreaterEqual(min_value - max_value, 1)) {
return IntervalSet::Empty();
} else {
Expand Down Expand Up @@ -162,7 +162,6 @@ inline IntervalSet Combine<ir::Mul>(Analyzer* analyzer,
if (a->IsEmpty()) return a;
if (b->IsEmpty()) return b;
if (a->IsSinglePoint()) {
// assert !b->IsSinglePoint();
std::swap(a, b);
}
if (b->IsSinglePoint()) {
Expand Down

0 comments on commit a037c77

Please sign in to comment.