Hzfengsy commented on a change in pull request #9699:
URL: https://github.com/apache/tvm/pull/9699#discussion_r766493561
##########
File path: src/arith/iter_affine_map.cc
##########
@@ -278,7 +287,7 @@ class IterMapRewriter : public ExprMutator {
PrimExpr VisitExpr(const PrimExpr& input_expr) final {
auto expr = ExprMutator::VisitExpr(input_expr);
if (expr->IsInstance<IterMapExprNode>()) {
- ++unresolved_count_;
+ Fail(Diagnostic::Error(input_expr->span));
Review comment:
Most TVM data structures created by c++ (including schedule primitives)
do not contain `span`.
--
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]