zhuwenxi commented on a change in pull request #7619:
URL: https://github.com/apache/tvm/pull/7619#discussion_r594924614
##########
File path: src/tir/transforms/lower_tvm_builtin.cc
##########
@@ -155,6 +166,25 @@ class BuiltinLower : public StmtExprMutator {
return StmtExprMutator::VisitExpr_(op);
}
}
+ std::string GetUniqueName(std::string prefix) {
+ for (size_t i = 0; i < prefix.size(); ++i) {
+ if (prefix[i] == '.') prefix[i] = '_';
+ }
Review comment:
Thank you @huajsj , let's keep it on this patch and wait for a total
"sweep-up" PR to fix all these code style problems later. I will leave a "TODO"
comment here, to mark up the requirement for this function.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]