junrushao1994 commented on a change in pull request #8863:
URL: https://github.com/apache/tvm/pull/8863#discussion_r698108905
##########
File path: include/tvm/tir/schedule/state.h
##########
@@ -128,6 +128,11 @@ class ScheduleStateNode : public Object {
*/
TVM_DLL void Replace(const tir::StmtSRef& src_sref, const Stmt& tgt_stmt,
const Map<Block, Block>& block_sref_reuse);
+ /*!
+ * \brief Recalculate the `affine_binding` flag of the scope block info.
+ * \param scope_sref The sref to the interested scope block.
+ */
+ TVM_DLL void UpdateAffineFlag(const StmtSRef& scope_sref);
Review comment:
TQ and I intentionally removed this method, because in most of the
schedule primitives, it is known almost known whether a block binding is affine
or not. In our particular case, trivial bindings are always affine AFAICT
--
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]