aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/stride-reuse.ll
diff options
context:
space:
mode:
authorPreston Gurd <preston.gurd@intel.com>2012-03-01 19:57:20 +0000
committerPreston Gurd <preston.gurd@intel.com>2012-03-01 19:57:20 +0000
commitfa2ab3e4abcecebb8d9a6d8822d8b4beef02bd74 (patch)
treef6e9f45c705340613edac72f208c2b0a4d5d3a77 /test/CodeGen/X86/stride-reuse.ll
parent925c3f08713c15114c782123789bf7d8604d4460 (diff)
downloadexternal_llvm-fa2ab3e4abcecebb8d9a6d8822d8b4beef02bd74.zip
external_llvm-fa2ab3e4abcecebb8d9a6d8822d8b4beef02bd74.tar.gz
external_llvm-fa2ab3e4abcecebb8d9a6d8822d8b4beef02bd74.tar.bz2
Trivial change to make the test use Use –mcpu=generic,
so that the test will not fail when run on an Intel Atom processor, due to the Atom scheduler producing an instruction sequence that is different from that which is normally expected. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151832 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/stride-reuse.ll')
-rw-r--r--test/CodeGen/X86/stride-reuse.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/X86/stride-reuse.ll b/test/CodeGen/X86/stride-reuse.ll
index 3f2c7d2..81de22c 100644
--- a/test/CodeGen/X86/stride-reuse.ll
+++ b/test/CodeGen/X86/stride-reuse.ll
@@ -1,6 +1,6 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
-; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s
-; CHECK-NOT: lea
+; RUN: llc < %s -mcpu=generic -march=x86 | FileCheck %s
+; RUN: llc < %s -mcpu=generic -mtriple=x86_64-linux | FileCheck %s
+; CHECK-NOT: lea
@B = external global [1000 x float], align 32
@A = external global [1000 x float], align 32