jroesch commented on a change in pull request #6274:
URL: https://github.com/apache/incubator-tvm/pull/6274#discussion_r493083969
##########
File path: include/tvm/ir/module.h
##########
@@ -280,12 +284,14 @@ class IRModule : public ObjectRef {
* \param functions Functions in the module.
* \param type_definitions Type definitions in the module.
* \param import_set Set of imported files in the module
+ * \param map The module source map.
*/
TVM_DLL explicit IRModule(Map<GlobalVar, BaseFunc> functions,
Map<GlobalTypeVar, TypeData> type_definitions = {},
- std::unordered_set<String> import_set = {});
+ std::unordered_set<String> import_set = {},
parser::SourceMap map = {});
+
/*! \brief default constructor */
- IRModule() : IRModule(Map<GlobalVar, BaseFunc>()) {}
Review comment:
Add this back, we should make IRModule non-null in follow up work.
----------------------------------------------------------------
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]