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 2022/06/08 21:19:04 UTC
[GitHub] [tvm] AndrewZhaoLuo commented on a diff in pull request #11574: [TIR] CSE pass : Restrict the equivalence to be decided by a normal form - avoids comparison of terms
AndrewZhaoLuo commented on code in PR #11574:
URL: https://github.com/apache/tvm/pull/11574#discussion_r891479849
##########
src/tir/transforms/common_subexpr_elim.cc:
##########
@@ -120,6 +120,39 @@ bool CommonSubexpressionEliminator::CanContainEligibleComputations(const PrimExp
return true;
}
+/*!
+ * \brief Implements an order on pairs (expression,frequency). First attempts to compare them
+ using the size of the expression. If the is the same, decides something else still
Review Comment:
Can you improve the grammar of the last sentence `If the is the same...`
##########
src/tir/transforms/common_subexpr_elim.cc:
##########
@@ -120,6 +120,39 @@ bool CommonSubexpressionEliminator::CanContainEligibleComputations(const PrimExp
return true;
}
+/*!
+ * \brief Implements an order on pairs (expression,frequency). First attempts to compare them
+ using the size of the expression. If the is the same, decides something else still
Review Comment:
nit: Can you improve the grammar of the last sentence `If the is the same...`
--
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