Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix][LLVM] Fix getHostCPUFeatures LLVM version cutoff #17403

Merged
merged 1 commit into from
Sep 23, 2024

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
26 of 27 checks passed
@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