tqchen commented on PR #17145:
URL: https://github.com/apache/tvm/pull/17145#issuecomment-2221657695

   There are different ways to look at this particular case.
   
   For this particular case, given the view was lowered to runtime function, it 
was primarily focused for the VM itself. One can also envision in future we 
have a codegen approach to get a view function that get inlined which is not 
needed in the VM approach.
   
   Introducing legalize ops with different levels can also have extra issues, 
as we need to run default scheduling of some of the ops. But for the certain 
legalization level we do not have to. 
   
   Perhaps one way to make it more clear is to rename LowerVMBuiltin to 
LowerRuntimeBuiltin, which have clear indication that that is a pass which 
takes charge of lowering all implementaitons of runtime builtin functions. 
   
   
   


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