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 2021/12/25 04:13:02 UTC

[GitHub] [tvm] Hzfengsy commented on a change in pull request #9699: [TIR] Affine utility support iter lowerbound and diagnostics

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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org