Using _MSC_VER there was wrong, better just use the already existing ifdefs for
authorTorok Edwin <edwintorok@gmail.com>
Sun, 13 Dec 2009 08:59:40 +0000 (08:59 +0000)
committerTorok Edwin <edwintorok@gmail.com>
Sun, 13 Dec 2009 08:59:40 +0000 (08:59 +0000)
commitc4174d675bb873b45fbc63777d388147cf27065a
tree87f8773d441776da278d74cb5d8ef14a57905444
parent0daf77e8034cfb70fbffbfa77d138b78b55af303
Using _MSC_VER there was wrong, better just use the already existing ifdefs for
x86 CPU detection for the X86 getHostCPUName too, and create a simple
getHostCPUName that returns "generic" for all else.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91240 91177308-0d34-0410-b5e6-96231b3b80d8
lib/System/Host.cpp