kparzysz-quic opened a new pull request, #11105:
URL: https://github.com/apache/tvm/pull/11105

   These options would take effect at the TVM level, much like the LLVM codegen 
options take effect within LLVM. The current set of options is `emit-asm`, 
`emit-llvm`, `emit-obj`, and `emit-so`, and each one can take an optional value 
0 or 1 (the default is 1). These options determine whether the particular type 
of output is generated, although options with any other use relevant to code 
generation (i.e. applicable in `BuildHexagon`) would be appropriate.
   
   Right now, the Hexagon codegen emits both the object code and the assembly 
text, which runs the LLVM codegen twice (extending compilation time). Even if 
the LLVM pass pipeline was constructed in a way to allow using different code 
emitters without repeating the codegen passes, it may still be useful to have 
control over whether the different types of output are generated or not. The 
primary motivation of this patch, though, is to reduce time spent in code 
generation.
   
   There is a plan to change the `hexagon` target to become a variant of the 
`llvm` target, and this may serve as a use case for some additional options 
that may be added to `llvm`.


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