summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Host.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-05-20 15:11:26 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-05-20 15:11:26 +0000
commit0bf26746d9791bc27a51121d31b247867ea469ea (patch)
tree8d464eedeb0580b5ff3e5901c52d658d390ff167 /llvm/lib/Support/Host.cpp
parent85e1664fb2a2795a54aee6437add625aedbd0cea (diff)
downloadbcm5719-llvm-0bf26746d9791bc27a51121d31b247867ea469ea.tar.gz
bcm5719-llvm-0bf26746d9791bc27a51121d31b247867ea469ea.zip
Rename the "sandybridge" subtarget to "corei7-avx", for GCC compatibility.
llvm-svn: 131730
Diffstat (limited to 'llvm/lib/Support/Host.cpp')
-rw-r--r--llvm/lib/Support/Host.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Host.cpp b/llvm/lib/Support/Host.cpp
index 911c64accec..5d1ad92e237 100644
--- a/llvm/lib/Support/Host.cpp
+++ b/llvm/lib/Support/Host.cpp
@@ -215,7 +215,7 @@ std::string sys::getHostCPUName() {
case 37: // Intel Core i7, laptop version.
return "corei7";
case 42: // SandyBridge
- return "sandybridge";
+ return "corei7-avx";
case 28: // Intel Atom processor. All processors are manufactured using
// the 45 nm process
OpenPOWER on IntegriCloud