Add llvm::sys::getHostCPUName, for detecting the LLVM name for the host CPU.
authorDaniel Dunbar <daniel@zuster.org>
Sat, 14 Nov 2009 10:09:12 +0000 (10:09 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Sat, 14 Nov 2009 10:09:12 +0000 (10:09 +0000)
commit067d024b05e56d2847608c9149a7151d6531c036
treeb34d4f02d0ac9fb04d4536ae4946c1e063abd289
parente79fddedcae1ee8fe7d8571db58447bc722f75dc
Add llvm::sys::getHostCPUName, for detecting the LLVM name for the host CPU.
 - This is an initial step towards -march=native support in Clang, and towards
   eliminating host dependencies in the targets. See PR5389.

 - Patch by Roman Divacky!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88768 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/System/Host.h
lib/System/Host.cpp
lib/Target/X86/X86Subtarget.cpp