cbalint13 opened a new pull request, #16808: URL: https://github.com/apache/tvm/pull/16808
This PR fix tvm loading errors when lower LLVM version does not support TVM predefined tags. Report and related discussions are here: https://github.com/apache/tvm/pull/16425#issuecomment-2023292845 --- #### Rationale: * During tvm load/initialization [list_tags()](https://github.com/apache/tvm/blob/83e7e9b2eb8dbeeb16dcfdbaf3336caa81071877/python/tvm/target/tag.py#L71) checks all ```src/target/tag.cc``` target definitions * The tags **should be protected** against improper LLVM versions at their declaration time #### Other fixes: * Fixes the ```mcpu=generic``` fallback assignment, so LLVM will not be invoked improperly (no spurr LLVM noise) * Minor compilation fix for LLVM version ranges: 10 < llvm < 16 (introduced by SVE support) Cc @Lunderberg @lhutton1 -- 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]
