aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target
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/Target
parent1ef3b6c90df35b2e02cc4f7cba46cb4302de55b6 (diff)
downloadexternal_llvm-d4d961615c67082bc24bfa5d372a93a1dcff3457.zip
external_llvm-d4d961615c67082bc24bfa5d372a93a1dcff3457.tar.gz
external_llvm-d4d961615c67082bc24bfa5d372a93a1dcff3457.tar.bz2
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/Target')
-rw-r--r--lib/Target/X86/X86Subtarget.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/X86/X86Subtarget.cpp b/lib/Target/X86/X86Subtarget.cpp
index 5be3126..6ceacc8 100644
--- a/lib/Target/X86/X86Subtarget.cpp
+++ b/lib/Target/X86/X86Subtarget.cpp
@@ -254,7 +254,8 @@ void X86Subtarget::AutoDetectSubtargetFeatures() {
// Set processor type. Currently only Atom is detected.
if (Family == 6 &&
- (Model == 28 || Model == 38 || Model == 39)) {
+ (Model == 28 || Model == 38 || Model == 39
+ /*|| Model == 53 || Model == 54*/)) {
X86ProcFamily = IntelAtom;
UseLeaForSP = true;