From f0a48ec8f188d3c2ccb86cce027e3b3b7a231d8b Mon Sep 17 00:00:00 2001 From: Preston Gurd Date: Wed, 18 Jul 2012 20:49:17 +0000 Subject: 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 --- llvm/lib/Support/Host.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'llvm/lib/Support') 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"; -- cgit v1.2.3