[llvm-commits] [llvm] r126211 - /llvm/trunk/test/CodeGen/X86/pr9127.ll

NAKAMURA Takumi geek4civic at gmail.com
Mon Feb 21 23:21:17 PST 2011


Author: chapuni
Date: Tue Feb 22 01:21:17 2011
New Revision: 126211

URL: http://llvm.org/viewvc/llvm-project?rev=126211&view=rev
Log:
Relax expressions and add explicit triplets -linux and -win32.

On @foobar(double %d, double* %x),
AMD64: (%xmm0, %rdi)
Win64: (%xmm0, %rdx) (not %rcx!)

Modified:
    llvm/trunk/test/CodeGen/X86/pr9127.ll

Modified: llvm/trunk/test/CodeGen/X86/pr9127.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/pr9127.ll?rev=126211&r1=126210&r2=126211&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/pr9127.ll (original)
+++ llvm/trunk/test/CodeGen/X86/pr9127.ll Tue Feb 22 01:21:17 2011
@@ -1,4 +1,5 @@
-; RUN: llc -march=x86-64 < %s | FileCheck %s
+; RUN: llc -mtriple=x86_64-linux < %s | FileCheck %s
+; RUN: llc -mtriple=x86_64-win32 < %s | FileCheck %s
 
 define i8 @foobar(double %d, double* %x) {
 entry:
@@ -9,4 +10,4 @@
 }
 
 ; test that the load is folded.
-; CHECK: ucomisd	(%rdi), %xmm0
+; CHECK: ucomisd	(%{{rdi|rdx}}), %xmm0





More information about the llvm-commits mailing list