Trivial change to make the test use Use –mcpu=generic,
authorPreston Gurd <preston.gurd@intel.com>
Thu, 1 Mar 2012 19:57:20 +0000 (19:57 +0000)
committerPreston Gurd <preston.gurd@intel.com>
Thu, 1 Mar 2012 19:57:20 +0000 (19:57 +0000)
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

test/CodeGen/X86/iv-users-in-other-loops.ll
test/CodeGen/X86/stride-reuse.ll

index 7f2bd75560cd3f9415b931a6a5d42a2c136c5050..e51e61d58f668ccb046da9115beff043052bf458 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -enable-lsr-nested -o %t
+; RUN: llc < %s -mcpu=generic -march=x86-64 -enable-lsr-nested -o %t
 ; RUN: not grep inc %t
 ; RUN: grep dec %t | count 2
 ; RUN: grep addq %t | count 12
index 3f2c7d2f46fd780ffc1b770f067798c498c39081..81de22ca4e357c3b892f46e4f68cf418d4e351ae 100644 (file)
@@ -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