Skip to content

Conversation

@MasterJH5574
Copy link
Contributor

This PR fixes the LLVM version cutoff for llvm::sys::getHostCPUFeatures. Previously the cutoff version is set to 20.0, assuming that the signature change happens since LLVM 20.0.
While actually the signature change happens at 19.0.

Reference:

This PR fixes the LLVM version cutoff for `llvm::sys::getHostCPUFeatures`.
Previously the cutoff version is set to 20.0, assuming that the
signature change happens since LLVM 20.0.
While actually the signature change happens at 19.0.

Reference:
* LLVM 18.1.8 https://github.com/llvm/llvm-project/blob/llvmorg-18.1.8/llvm/include/llvm/TargetParser/Host.h#L56
* LLVM 19.1.0 https://github.com/llvm/llvm-project/blob/llvmorg-19.1.0-rc1/llvm/include/llvm/TargetParser/Host.h#L55
@tqchen tqchen merged commit 66b21d3 into main Sep 23, 2024
@MasterJH5574 MasterJH5574 deleted the tvm-dev/2024-09-22-llvm-ver-cutoff branch October 14, 2024 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants