Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fix][LLVM] Fix getHostCPUFeatures LLVM version cutoff (#17403)
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
- Loading branch information