summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/loop-strength-reduce-3.ll
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2012-09-29 10:25:35 +0000
committerDuncan Sands <baldrick@free.fr>2012-09-29 10:25:35 +0000
commitfb9d30dd648c04fba2a1eb0c4366924e14eecd46 (patch)
tree33b8a2e085a01c6dbbbce8fe3802af872fe69d40 /llvm/test/CodeGen/X86/loop-strength-reduce-3.ll
parent261c9683e27ed70c930288a312fc27d6b7c2c7cd (diff)
downloadbcm5719-llvm-fb9d30dd648c04fba2a1eb0c4366924e14eecd46.tar.gz
bcm5719-llvm-fb9d30dd648c04fba2a1eb0c4366924e14eecd46.zip
Speculatively revert commit 164885 (nadav) in the hope of ressurecting a pile of
buildbots. Original commit message: A DAGCombine optimization for merging consecutive stores. This optimization is not profitable in many cases because moden processos can store multiple values in parallel, and preparing the consecutive store requires some work. We only handle these cases: 1. Consecutive stores where the values and consecutive loads. For example: int a = p->a; int b = p->b; q->a = a; q->b = b; 2. Consecutive stores where the values are constants. Foe example: q->a = 4; q->b = 5; llvm-svn: 164890
Diffstat (limited to 'llvm/test/CodeGen/X86/loop-strength-reduce-3.ll')
-rw-r--r--llvm/test/CodeGen/X86/loop-strength-reduce-3.ll5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/loop-strength-reduce-3.ll b/llvm/test/CodeGen/X86/loop-strength-reduce-3.ll
index e2d77f2a6fd..b1c9fb9c077 100644
--- a/llvm/test/CodeGen/X86/loop-strength-reduce-3.ll
+++ b/llvm/test/CodeGen/X86/loop-strength-reduce-3.ll
@@ -1,7 +1,8 @@
-; RUN: llc < %s -mtriple=i386-apple-darwin -mcpu=corei7 -relocation-model=dynamic-no-pic | FileCheck %s
+; RUN: llc < %s -mtriple=i386-apple-darwin -relocation-model=dynamic-no-pic | FileCheck %s
; CHECK: align
-; CHECK: movlpd %xmm0, -4(%ecx)
+; CHECK: movl $4, -4(%ecx)
+; CHECK: movl $5, (%ecx)
; CHECK: addl $4, %ecx
; CHECK: decl %eax
; CHECK: jne
OpenPOWER on IntegriCloud