MarisaKirisame commented on a change in pull request #8266:
URL: https://github.com/apache/tvm/pull/8266#discussion_r660116421



##########
File path: src/tir/analysis/deep_equal.cc
##########
@@ -59,6 +59,9 @@ bool ExprDeepEqual::operator()(const PrimExpr& lhs, const 
PrimExpr& rhs) const {
     auto* prhs = rhs.as<IntImmNode>();
     return plhs->dtype == prhs->dtype && plhs->value == prhs->value;
   }
+  if (lhs.as<AnyNode>()) {
+    return lhs.same_as(rhs);

Review comment:
       ```suggestion
       return false;
   ```
   the code that check same_as already happend at before.




-- 
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]


Reply via email to