summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/xor.ll
diff options
context:
space:
mode:
authorNadav Rotem <nadav.rotem@intel.com>2012-07-12 13:45:15 +0000
committerNadav Rotem <nadav.rotem@intel.com>2012-07-12 13:45:15 +0000
commit4dff258bfb2c894f26c59a76ff81527896ae1d9e (patch)
treeab7c91b12f2d021acd579b9f2a36f48d9e32aab7 /test/CodeGen/X86/xor.ll
parent9ae2dfd2615a35319d3c4dd042737c3a71ba1048 (diff)
downloadllvm-4dff258bfb2c894f26c59a76ff81527896ae1d9e.tar.gz
llvm-4dff258bfb2c894f26c59a76ff81527896ae1d9e.tar.bz2
llvm-4dff258bfb2c894f26c59a76ff81527896ae1d9e.tar.xz
The LIT tests below do not specify the exact cpu model and fail on AVX2 machines, because we select different instructions such as vbroadcast, new shuffles, etc.
Patch by Michael Liao. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160129 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/xor.ll')
-rw-r--r--test/CodeGen/X86/xor.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/X86/xor.ll b/test/CodeGen/X86/xor.ll
index ddc4cab14a..73416eff0e 100644
--- a/test/CodeGen/X86/xor.ll
+++ b/test/CodeGen/X86/xor.ll
@@ -1,6 +1,6 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2 | FileCheck %s -check-prefix=X32
-; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s -check-prefix=X64
-; RUN: llc < %s -mtriple=x86_64-win32 | FileCheck %s -check-prefix=X64
+; RUN: llc < %s -mcpu=corei7 -march=x86 -mattr=+sse2 | FileCheck %s -check-prefix=X32
+; RUN: llc < %s -mcpu=corei7 -mtriple=x86_64-linux | FileCheck %s -check-prefix=X64
+; RUN: llc < %s -mcpu=corei7 -mtriple=x86_64-win32 | FileCheck %s -check-prefix=X64
; Though it is undefined, we want xor undef,undef to produce zero.
define <4 x i32> @test1() nounwind {