manupa-arm commented on pull request #10725:
URL: https://github.com/apache/tvm/pull/10725#issuecomment-1076233987


   Thanks @lhutton1 ! I see.
   
   It might be worth mentioning in the docs for the pass that this pass is only 
meant to be run in LowerToTIR() composite pass.
   We might needs some checks to that effect with tests -- i.e. checking 
whether the module has a single PrimFunc called "main" and if not throwing a 
message that the pass is only supposed to run in LowerToTIR() where the above 
requirement is satisfied.


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