WuSiYu opened a new pull request, #13054: URL: https://github.com/apache/tvm/pull/13054
This commit fix the tvm's crash during auto-tune when having a 'if' statement which doesn't have a 'else' part in TVMScript. It's cause in tvm's tir processing, in `VisitStmt_()` for IfThenElseNode its trying to visit the 'else' part (in TVMScript) whether it is exist. So in this commit, an if logic is added in `VisitStmt_()` for IfThenElseNode, it will not visit the 'else' part if it is not exist. -- 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-unsubscr...@tvm.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org