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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
