summaryrefslogtreecommitdiffstats
path: root/llvm/lib
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
commitd0f0600b4989f56c5910a71a980e3d664e652f60 (patch)
treeb3d1bb903ccfbd165978cd600e45b89d9bd5300b /llvm/lib
parent39c67b5e086f7d1a5e37a81f23ae83b5e6ba7cdb (diff)
downloadbcm5719-llvm-d0f0600b4989f56c5910a71a980e3d664e652f60.tar.gz
bcm5719-llvm-d0f0600b4989f56c5910a71a980e3d664e652f60.zip
Update comments for SandyBridge CPU identifiers.
llvm-svn: 134759
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Support/Host.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/llvm/lib/Support/Host.cpp b/llvm/lib/Support/Host.cpp
index 2829de06d6d..c525a122812 100644
--- a/llvm/lib/Support/Host.cpp
+++ b/llvm/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";
OpenPOWER on IntegriCloud