Speculatively revert commit 164885 (nadav) in the hope of ressurecting a pile of
authorDuncan Sands <baldrick@free.fr>
Sat, 29 Sep 2012 10:25:35 +0000 (10:25 +0000)
committerDuncan Sands <baldrick@free.fr>
Sat, 29 Sep 2012 10:25:35 +0000 (10:25 +0000)
commitfb9d30dd648c04fba2a1eb0c4366924e14eecd46
tree33b8a2e085a01c6dbbbce8fe3802af872fe69d40
parent261c9683e27ed70c930288a312fc27d6b7c2c7cd
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
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/test/CodeGen/X86/MergeConsecutiveStores.ll [deleted file]
llvm/test/CodeGen/X86/loop-strength-reduce-2.ll
llvm/test/CodeGen/X86/loop-strength-reduce-3.ll
llvm/test/CodeGen/X86/loop-strength-reduce.ll