summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/constant-pool-sharing.ll
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2011-02-22 07:19:37 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2011-02-22 07:19:37 +0000
commit3bfc830a9a02a514ad3900b077dd482646971a91 (patch)
tree82c283c9ae7b83d07d324e60eb9e9551a7d0f90c /llvm/test/CodeGen/X86/constant-pool-sharing.ll
parent46e7e345e2db8b3696a72f250fb37a3b9ed35357 (diff)
downloadbcm5719-llvm-3bfc830a9a02a514ad3900b077dd482646971a91.tar.gz
bcm5719-llvm-3bfc830a9a02a514ad3900b077dd482646971a91.zip
Relax expressions and add explicit triplets -linux and -win32.
llvm-svn: 126199
Diffstat (limited to 'llvm/test/CodeGen/X86/constant-pool-sharing.ll')
-rw-r--r--llvm/test/CodeGen/X86/constant-pool-sharing.ll7
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/X86/constant-pool-sharing.ll b/llvm/test/CodeGen/X86/constant-pool-sharing.ll
index 33de5767ad6..f979945835f 100644
--- a/llvm/test/CodeGen/X86/constant-pool-sharing.ll
+++ b/llvm/test/CodeGen/X86/constant-pool-sharing.ll
@@ -1,11 +1,12 @@
-; RUN: llc < %s -march=x86-64 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-win32 | FileCheck %s
; llc should share constant pool entries between this integer vector
; and this floating-point vector since they have the same encoding.
; CHECK: LCPI0_0(%rip), %xmm0
-; CHECK: movaps %xmm0, (%rdi)
-; CHECK: movaps %xmm0, (%rsi)
+; CHECK: movaps %xmm0, ({{%rdi|%rcx}})
+; CHECK: movaps %xmm0, ({{%rsi|%rdx}})
define void @foo(<4 x i32>* %p, <4 x float>* %q, i1 %t) nounwind {
entry:
OpenPOWER on IntegriCloud