[X86] Remove asserts from getX86CpuIDAndInfo/getX86CpuIDAndInfoEx. Restore past behav...
authorCraig Topper <craig.topper@intel.com>
Mon, 10 Jul 2017 06:04:11 +0000 (06:04 +0000)
committerCraig Topper <craig.topper@intel.com>
Mon, 10 Jul 2017 06:04:11 +0000 (06:04 +0000)
commit1efd10ab75b41d6976bb81d41e28cdb8bafb8e7a
treefc48db0307a3d73a59bb744db5c8dd29701b0b19
parentf3598e8fca83ccfb11f58ec7957c229e349765e3
[X86] Remove asserts from getX86CpuIDAndInfo/getX86CpuIDAndInfoEx. Restore past behavior of returning an unsupported indication to the caller instead.

These asserts could only occur if we fail to properly detect the compiler, but an assert is not a good way to do that because it doesn't work in release builds.

I wonder if we could use #error?

llvm-svn: 307520
llvm/lib/Support/Host.cpp