summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/constant-pool-sharing.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/constant-pool-sharing.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/constant-pool-sharing.ll')
-rw-r--r--test/CodeGen/X86/constant-pool-sharing.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/constant-pool-sharing.ll b/test/CodeGen/X86/constant-pool-sharing.ll
index f979945835..26318dd6c5 100644
--- a/test/CodeGen/X86/constant-pool-sharing.ll
+++ b/test/CodeGen/X86/constant-pool-sharing.ll
@@ -1,5 +1,5 @@
-; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s
-; RUN: llc < %s -mtriple=x86_64-win32 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-linux -mcpu=corei7 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-win32 -mcpu=corei7 | FileCheck %s
; llc should share constant pool entries between this integer vector
; and this floating-point vector since they have the same encoding.