zhiics commented on a change in pull request #5276: [REFACTOR][IR] Move to 
runtime::String
URL: https://github.com/apache/incubator-tvm/pull/5276#discussion_r405851767
 
 

 ##########
 File path: include/tvm/ir/expr.h
 ##########
 @@ -107,11 +107,12 @@ class PrimExpr : public BaseExpr {
    * \param value The value to be constructed.
    */
   TVM_DLL PrimExpr(float value);  // NOLINT(*)
+
   /*!
-   * \brief construct from string.
-   * \param str The value to be constructed.
+   * \brief construct from runtime String.
+   * \param value The value to be constructed.
    */
-  TVM_DLL PrimExpr(std::string str);  // NOLINT(*)
+  TVM_DLL PrimExpr(runtime::String value);  // NOLINT(*)
 
 Review comment:
   Yeah, I consider that as well, but it seems there are too many places using 
PrimExpr. Need sometime to see which one may take string. 

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to