Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions src/arith/int_set.cc
Original file line number Diff line number Diff line change
Expand Up @@ -532,10 +532,7 @@ class IntervalSetEvaluator : public ExprFunctor<IntervalSet(const PrimExpr&)> {
}

IntervalSet VisitExpr_(const BroadcastNode* op) final {
if (!eval_vec_) {
DLOG(WARNING) << "cannot evaluate set on expression " << ffi::GetRef<PrimExpr>(op);
return IntervalSet::Everything();
}
ICHECK(eval_vec_);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

This change reverts #18536, restoring the ICHECK(eval_vec_). While this makes the behavior consistent with VisitExpr_(const RampNode* op), it may re-introduce the InternalError that the original PR aimed to fix. If the underlying issue causing this method to be called with eval_vec_ == false has been addressed elsewhere, then this revert is correct. Otherwise, we might see the same crash again.

return VisitExpr(op->value);
}

Expand Down
Loading