summaryrefslogtreecommitdiff
path: root/lib/Support/Host.cpp
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2011-07-08 22:33:59 +0000
committerBob Wilson <bob.wilson@apple.com>2011-07-08 22:33:59 +0000
commit7c3a5cac02d6676c6e9c55bf8d60bdfa38e3e00a (patch)
tree3a64470509a79c9bc9a70d0ec0285f66f7e1f75f /lib/Support/Host.cpp
parent7e61a3120d70f743825e96e461368ade3bebd7d5 (diff)
downloadllvm-7c3a5cac02d6676c6e9c55bf8d60bdfa38e3e00a.tar.gz
llvm-7c3a5cac02d6676c6e9c55bf8d60bdfa38e3e00a.tar.bz2
llvm-7c3a5cac02d6676c6e9c55bf8d60bdfa38e3e00a.tar.xz
Update comments for SandyBridge CPU identifiers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134759 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Host.cpp')
-rw-r--r--lib/Support/Host.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/Support/Host.cpp b/lib/Support/Host.cpp
index 2829de06d6..c525a12281 100644
--- a/lib/Support/Host.cpp
+++ b/lib/Support/Host.cpp
@@ -214,8 +214,12 @@ std::string sys::getHostCPUName() {
// As found in a Summer 2010 model iMac.
case 37: // Intel Core i7, laptop version.
return "corei7";
- case 42: // SandyBridge
- case 44:
+
+ // SandyBridge:
+ case 42: // Intel Core i7 processor. All processors are manufactured
+ // using the 32 nm process.
+ case 44: // Intel Core i7 processor and Intel Xeon processor. All
+ // processors are manufactured using the 32 nm process.
case 45:
return "corei7-avx";