summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/StackColoring.ll
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2012-09-06 10:33:33 +0000
committerNadav Rotem <nrotem@apple.com>2012-09-06 10:33:33 +0000
commita76d7d64a4aa39e459f0807143a95c2a1c046f9f (patch)
treec6d2f55096ec28d69b51db69c0825a7794d77016 /test/CodeGen/X86/StackColoring.ll
parent951543491fcc01486a926f0dcb37815ffff2051f (diff)
downloadllvm-a76d7d64a4aa39e459f0807143a95c2a1c046f9f.tar.gz
llvm-a76d7d64a4aa39e459f0807143a95c2a1c046f9f.tar.bz2
llvm-a76d7d64a4aa39e459f0807143a95c2a1c046f9f.tar.xz
Fix the test by specifying an exact cpu model.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163307 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/StackColoring.ll')
-rw-r--r--test/CodeGen/X86/StackColoring.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/StackColoring.ll b/test/CodeGen/X86/StackColoring.ll
index f918e95bf7..442c51de53 100644
--- a/test/CodeGen/X86/StackColoring.ll
+++ b/test/CodeGen/X86/StackColoring.ll
@@ -1,5 +1,5 @@
-; RUN: llc < %s | FileCheck %s --check-prefix=YESCOLOR
-; RUN: llc -no-stack-coloring < %s | FileCheck %s --check-prefix=NOCOLOR
+; RUN: llc -mcpu=corei7 < %s | FileCheck %s --check-prefix=YESCOLOR
+; RUN: llc -mcpu=corei7 -no-stack-coloring < %s | FileCheck %s --check-prefix=NOCOLOR
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
target triple = "x86_64-apple-macosx10.8.0"