summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/commute-two-addr.ll
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2013-06-24 09:51:30 +0000
committerAndrew Trick <atrick@apple.com>2013-06-24 09:51:30 +0000
commit37d002f0a8b6dd7571bb819b70e98474f994c57a (patch)
treeaeb9285ae2e650ef62e3f9fda709f6d36fde66ec /test/CodeGen/X86/commute-two-addr.ll
parentebc3938ae717d7352de800344c3ad5a1bceb74e5 (diff)
downloadllvm-37d002f0a8b6dd7571bb819b70e98474f994c57a.tar.gz
llvm-37d002f0a8b6dd7571bb819b70e98474f994c57a.tar.bz2
llvm-37d002f0a8b6dd7571bb819b70e98474f994c57a.tar.xz
Add -mcpu to some unit tests that only fail on certain hosts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184709 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/commute-two-addr.ll')
-rw-r--r--test/CodeGen/X86/commute-two-addr.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/commute-two-addr.ll b/test/CodeGen/X86/commute-two-addr.ll
index 72e5fdd6d7..21f94423c5 100644
--- a/test/CodeGen/X86/commute-two-addr.ll
+++ b/test/CodeGen/X86/commute-two-addr.ll
@@ -2,8 +2,8 @@
; insertion of register-register copies.
; Make sure there are only 3 mov's for each testcase
-; RUN: llc < %s -mtriple=i686-pc-linux-gnu | FileCheck %s -check-prefix=LINUX
-; RUN: llc < %s -mtriple=x86_64-apple-darwin | FileCheck %s -check-prefix=DARWIN
+; RUN: llc < %s -mtriple=i686-pc-linux-gnu -mcpu=corei7 | FileCheck %s -check-prefix=LINUX
+; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=corei7 | FileCheck %s -check-prefix=DARWIN
@G = external global i32 ; <i32*> [#uses=2]