[SLP] Enable vectorization of GEP expressions.
authorMichael Zolotukhin <mzolotukhin@apple.com>
Fri, 6 Jun 2014 15:34:24 +0000 (15:34 +0000)
committerMichael Zolotukhin <mzolotukhin@apple.com>
Fri, 6 Jun 2014 15:34:24 +0000 (15:34 +0000)
commitafbe82d590b14b304102013aba14c5f608b5b5ab
treef0ba92b8edf09db6e8edb63c1b2179557f559628
parent6c9eb10784646b7025011e3ebf4a34b4241c79c2
[SLP] Enable vectorization of GEP expressions.

The use cases look like the following:
    x->a = y->a + 10
    x->b = y->b + 12

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210342 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/SLPVectorizer.cpp
test/Transforms/SLPVectorizer/X86/gep.ll [new file with mode: 0644]