aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/lsr-reuse-trunc.ll
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2011-02-22 07:20:44 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2011-02-22 07:20:44 +0000
commit20cee65fd1509b2c87e3abac248290847abb951e (patch)
tree630e32b21627fb415625c46dce323d5f407e643d /test/CodeGen/X86/lsr-reuse-trunc.ll
parent5731b5c8ce8b98a1e52ef73620bd08149570984b (diff)
Relax expressions and add explicit triplets -linux and -win32.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126207 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/lsr-reuse-trunc.ll')
-rw-r--r--test/CodeGen/X86/lsr-reuse-trunc.ll9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/CodeGen/X86/lsr-reuse-trunc.ll b/test/CodeGen/X86/lsr-reuse-trunc.ll
index d1d714491f..29f03d68da 100644
--- a/test/CodeGen/X86/lsr-reuse-trunc.ll
+++ b/test/CodeGen/X86/lsr-reuse-trunc.ll
@@ -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 {