summaryrefslogtreecommitdiff
path: root/lib/Support/Host.cpp
diff options
context:
space:
mode:
authorPreston Gurd <preston.gurd@intel.com>2012-07-18 20:49:17 +0000
committerPreston Gurd <preston.gurd@intel.com>2012-07-18 20:49:17 +0000
commitd4d961615c67082bc24bfa5d372a93a1dcff3457 (patch)
tree208eef3c43dfe91a984d9df1f0c6717e463190e6 /lib/Support/Host.cpp
parent1ef3b6c90df35b2e02cc4f7cba46cb4302de55b6 (diff)
downloadllvm-d4d961615c67082bc24bfa5d372a93a1dcff3457.tar.gz
llvm-d4d961615c67082bc24bfa5d372a93a1dcff3457.tar.bz2
llvm-d4d961615c67082bc24bfa5d372a93a1dcff3457.tar.xz
This patch fixes 8 out of 20 unexpected failures in "make check"
when run on an Intel Atom processor. The failures have arisen due to changes elsewhere in the trunk over the past 8 weeks or so. These failures were not detected by the Atom buildbot because the CPU on the Atom buildbot was not being detected as an Atom CPU. The fix for this problem is in Host.cpp and X86Subtarget.cpp, but shall remain commented out until the current set of Atom test failures are fixed. Patch by Andy Zhang and Tyler Nowicki! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160451 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Host.cpp')
-rw-r--r--lib/Support/Host.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Support/Host.cpp b/lib/Support/Host.cpp
index 550fa5765c..367ab6bfd4 100644
--- a/lib/Support/Host.cpp
+++ b/lib/Support/Host.cpp
@@ -249,6 +249,9 @@ std::string sys::getHostCPUName() {
case 28: // Most 45 nm Intel Atom processors
case 38: // 45 nm Atom Lincroft
case 39: // 32 nm Atom Medfield
+ // re-enable when buildbot will pass all atom tests
+ //case 53: // 32 nm Atom Midview
+ //case 54: // 32 nm Atom Midview
return "atom";
default: return (Em64T) ? "x86-64" : "i686";