[libc][NFC] Make cpu feature check tolerate non-x86 architectures.
authorSiva Chandra <sivachandra@google.com>
Wed, 10 Jun 2020 17:55:00 +0000 (10:55 -0700)
committerSiva Chandra Reddy <sivachandra@google.com>
Wed, 10 Jun 2020 18:11:04 +0000 (11:11 -0700)
commitc76a1d0fc0c148c8642397a6ec8a589256eb1dc2
treec1072a5262df6054c420c42ab7763cf575bfd1f0
parent8b6821a5843bb321b3738e2519beae7142e62928
[libc][NFC] Make cpu feature check tolerate non-x86 architectures.

The feature check should probably be enhanced for non-x86 architectures,
but this change shields them from x86 specific pieces until then.

This patch has been split out from https://reviews.llvm.org/D81533.
libc/cmake/modules/LLVMLibCCheckCpuFeatures.cmake