From fa2ab3e4abcecebb8d9a6d8822d8b4beef02bd74 Mon Sep 17 00:00:00 2001 From: Preston Gurd Date: Thu, 1 Mar 2012 19:57:20 +0000 Subject: [PATCH] =?utf8?q?Trivial=20change=20to=20make=20the=20test=20use?= =?utf8?q?=20Use=20=E2=80=93mcpu=3Dgeneric,=20so=20that=20the=20test=20wil?= =?utf8?q?l=20not=20fail=20when=20run=20on=20an=20Intel=20Atom=20processor?= =?utf8?q?,=20due=20to=20the=20Atom=20scheduler=20producing=20an=20instruc?= =?utf8?q?tion=20sequence=20that=20is=20different=20from=20that=20which=20?= =?utf8?q?is=20normally=20expected.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 | 2 +- test/CodeGen/X86/stride-reuse.ll | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/CodeGen/X86/iv-users-in-other-loops.ll b/test/CodeGen/X86/iv-users-in-other-loops.ll index 7f2bd75560c..e51e61d58f6 100644 --- a/test/CodeGen/X86/iv-users-in-other-loops.ll +++ b/test/CodeGen/X86/iv-users-in-other-loops.ll @@ -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 diff --git a/test/CodeGen/X86/stride-reuse.ll b/test/CodeGen/X86/stride-reuse.ll index 3f2c7d2f46f..81de22ca4e3 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 -- 2.34.1