slyubomirsky commented on code in PR #14394:
URL: https://github.com/apache/tvm/pull/14394#discussion_r1196876326


##########
include/tvm/relax/expr.h:
##########
@@ -920,10 +920,16 @@ class FunctionNode : public BaseFuncNode {
   Expr body;
   /*! \brief The return type of the function. */
   StructInfo ret_struct_info;
+  /*! \brief Whether the function is annotated as pure or not. */
+  bool is_pure;

Review Comment:
   So would you say that I should have `force_pure` remain as an attribute, 
then? I don't object to making the distinction between `is_pure` being a field 
since `force_pure` is more of a hint to the well-formed checker.



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

Reply via email to