You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/04/26 13:07:24 UTC

[GitHub] [tvm] kparzysz-quic commented on pull request #11105: [Hexagon] Introduce TVM code generation flags to Hexagon target

kparzysz-quic commented on PR #11105:
URL: https://github.com/apache/tvm/pull/11105#issuecomment-1109775068

   If we wanted to generate the assembly text in `Module::Save`, we'd need to run a codegen pass inside of it.  My line of thought was that `Module` was a purely runtime structure, if we wanted to run LLVM codegen from inside of `HexagonModule`, we'd need to link the LLVM support into the TVM runtime.
   
   When transitioning the `hexagon` target to `llvm`, I'd add something like `--target-options` to `llvm`, and have flags in there that would be specific to Hexagon, that would accomplish what this patch is doing.  This PR was just an interim solution (we were seeing long compilation times in our local tests).


-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org