[llvm-commits] [llvm] r126207 - /llvm/trunk/test/CodeGen/X86/lsr-reuse-trunc.ll

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


Author: chapuni
Date: Tue Feb 22 01:20:44 2011
New Revision: 126207

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

Modified:
    llvm/trunk/test/CodeGen/X86/lsr-reuse-trunc.ll

Modified: llvm/trunk/test/CodeGen/X86/lsr-reuse-trunc.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/lsr-reuse-trunc.ll?rev=126207&r1=126206&r2=126207&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/lsr-reuse-trunc.ll (original)
+++ llvm/trunk/test/CodeGen/X86/lsr-reuse-trunc.ll Tue Feb 22 01:20:44 2011
@@ -1,12 +1,13 @@
-; 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
 
 ; Full strength reduction wouldn't reduce register pressure, so LSR should
 ; stick with indexing here.
 
-; CHECK: movaps        (%rsi,%rax,4), %xmm3
-; CHECK: movaps        %xmm3, (%rdi,%rax,4)
+; CHECK: movaps        (%{{rsi|rdx}},%rax,4), %xmm3
+; CHECK: movaps        %xmm3, (%{{rdi|rcx}},%rax,4)
 ; CHECK: addq  $4, %rax
-; CHECK: cmpl  %eax, (%rdx)
+; CHECK: cmpl  %eax, (%{{rdx|r8}})
 ; CHECK-NEXT: jg
 
 define void @vvfloorf(float* nocapture %y, float* nocapture %x, i32* nocapture %n) nounwind {





More information about the llvm-commits mailing list