Skip to content

Conversation

mcinally
Copy link
Contributor

llvm::sys::getHostCPUName() and llvm::sys::getHostCPUFeatures() appear to need special cases for _WIN32 on X86 (similar to the existing _WIN32 on ARM special cases) to restrict what CPUs and Features are available with that OS.

For now, limit this test to Linux systems only, as this test does not check very much being that it is sensitive to the Host machine.

Originally #159414.

llvm::sys::getHostCPUName() and llvm::sys::getHostCPUFeatures() appear to need
special cases for _WIN32 on X86 (similar to the existing _WIN32 on ARM special
cases) to restrict what CPUs and Features are available with that OS.

For now, limit this test to Linux systems only, as this test does not check
very much being that it is sensitve to the Host machine.

Originally llvm#159414.
@mcinally mcinally requested a review from gkistanova September 19, 2025 19:33
@mcinally
Copy link
Contributor Author

@gkistanova, does this seem reasonable to you? I am not a Windows expert by any means.

I suspect that llvm::sys::getHostCPUName() and llvm::sys::getHostCPUFeatures() need some work for Windows, but it's outside the scope of the project I'm working on.

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.

1 participant