HomePhabricator

[SLP vectorizer]: Choose the best consecutive candidate to pair with a store…

Description

[SLP vectorizer]: Choose the best consecutive candidate to pair with a store instruction.

The patch changes the SLPVectorizer::vectorizeStores to choose the immediate
succeeding or preceding candidate for a store instruction when it has multiple
consecutive candidates. In this way it has better chance to find more slp
vectorization opportunities.

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

Details

Committed
wmiJul 30 2015, 10:40 AM
Differential Revision
D10445: Choose the best consecutive candidate for a store instruction in SLP vectorizer
Parents
rL243665: Merging r243618:
Branches
Unknown
Tags
Unknown