summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
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
commitf0a48ec8f188d3c2ccb86cce027e3b3b7a231d8b (patch)
treedef831713c8193e6cf1521598e35b610f7c1b7a1 /llvm/lib/Support
parent5e0c5e8108e8886e4aa7ea489d0af5bc4f521a25 (diff)
downloadbcm5719-llvm-f0a48ec8f188d3c2ccb86cce027e3b3b7a231d8b.tar.gz
bcm5719-llvm-f0a48ec8f188d3c2ccb86cce027e3b3b7a231d8b.zip
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! llvm-svn: 160451
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r--llvm/lib/Support/Host.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Support/Host.cpp b/llvm/lib/Support/Host.cpp
index 550fa5765c5..367ab6bfd4e 100644
--- a/llvm/lib/Support/Host.cpp
+++ b/llvm/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";
OpenPOWER on IntegriCloud