llvm-6502/test/CodeGen
Ahmed Bougacha 780a093afb Reapply "[ARM] Combine base-updating/post-incrementing vector load/stores."
r223862 tried to also combine base-updating load/stores.
r224198 reverted it, as "it created a regression on the test-suite
on test MultiSource/Benchmarks/Ptrdist/anagram by scrambling the order
in which the words are shown."
Reapply, with a fix to ignore non-normal load/stores.
Truncstores are handled elsewhere (you can actually write a pattern for
those, whereas for postinc loads you can't, since they return two values),
but it should be possible to also combine extloads base updates, by checking
that the memory (rather than result) type is of the same size as the addend.

Original commit message:
We used to only combine intrinsics, and turn them into VLD1_UPD/VST1_UPD
when the base pointer is incremented after the load/store.

We can do the same thing for generic load/stores.

Note that we can only combine the first load/store+adds pair in
a sequence (as might be generated for a v16f32 load for instance),
because other combines turn the base pointer addition chain (each
computing the address of the next load, from the address of the last
load) into independent additions (common base pointer + this load's
offset).

Differential Revision: http://reviews.llvm.org/D6585


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224203 91177308-0d34-0410-b5e6-96231b3b80d8
2014-12-13 23:22:12 +00:00
..
AArch64 [AArch64] MachO large code-model: Materialize FP constants in code. 2014-12-10 19:43:32 +00:00
ARM Reapply "[ARM] Combine base-updating/post-incrementing vector load/stores." 2014-12-13 23:22:12 +00:00
CPP
Generic Rename argument strings of codegen passes to avoid collisions with command line 2014-12-13 04:52:04 +00:00
Hexagon
Inputs
Mips [mips] Enable code generation for MIPS-III. 2014-12-12 15:16:46 +00:00
MSP430
NVPTX IR: Canonicalize metadata formatting, NFC 2014-12-11 06:32:29 +00:00
PowerPC [PowerPC] Add a DAGToDAG peephole to remove unnecessary zero-exts 2014-12-12 23:59:36 +00:00
R600 R600: Fix min/max matching problems with unordered compares 2014-12-12 02:30:37 +00:00
SPARC
SystemZ
Thumb
Thumb2 [ARMConstantIsland] Insert tbb/tbh optimization where previous jump table resided. 2014-12-12 23:27:40 +00:00
X86 [AVX512] Enabling bit logic lowering 2014-12-12 17:02:18 +00:00
XCore