[llvm-commits] [llvm] r126199 - /llvm/trunk/test/CodeGen/X86/constant-pool-sharing.ll
NAKAMURA Takumi
geek4civic at gmail.com
Mon Feb 21 23:19:37 PST 2011
Author: chapuni
Date: Tue Feb 22 01:19:37 2011
New Revision: 126199
URL: http://llvm.org/viewvc/llvm-project?rev=126199&view=rev
Log:
Relax expressions and add explicit triplets -linux and -win32.
Modified:
llvm/trunk/test/CodeGen/X86/constant-pool-sharing.ll
Modified: llvm/trunk/test/CodeGen/X86/constant-pool-sharing.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/constant-pool-sharing.ll?rev=126199&r1=126198&r2=126199&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/constant-pool-sharing.ll (original)
+++ llvm/trunk/test/CodeGen/X86/constant-pool-sharing.ll Tue Feb 22 01:19:37 2011
@@ -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:
More information about the llvm-commits
mailing list