masahi commented on code in PR #13206:
URL: https://github.com/apache/tvm/pull/13206#discussion_r1007772390
##########
src/tir/schedule/primitive/cache_read_write.cc:
##########
@@ -297,7 +297,12 @@ bool CalculateAffineFlag(const ScheduleState& self, const
StmtSRef& block_sref)
* \param stage The stage to be inserted
* \return A SeqStmt, the result after insertion
*/
-SeqStmt InsertCacheStage(const Stmt& stmt, int pos, const Stmt& stage) {
+Stmt InsertCacheStage(const Stmt& stmt, int pos, const Stmt& stage) {
Review Comment:
Added a test case for this fix. For some reason I cannot reproduce this bug
without anchor tuning. So I'm including it here.
--
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]