Page MenuHomePhabricator

[SLP] Vectorize reversed stores.
Needs ReviewPublic

Authored by ABataev on Feb 15 2018, 9:18 AM.

Details

Summary

Patch adds support for vectorization of the reversed stores. The value
operands are vectorized and then shuffled in the reverse order before
store.

Diff Detail

Event Timeline

ABataev created this revision.Feb 15 2018, 9:18 AM
ABataev updated this revision to Diff 140662.Apr 2 2018, 12:17 PM

Updated to latest version

Herald added a project: Restricted Project. · View Herald TranscriptWed, Sep 4, 8:44 AM
Herald added subscribers: jfb, mgrang. · View Herald Transcript
RKSimon added inline comments.Sat, Sep 7, 11:11 AM
lib/Transforms/Vectorize/SLPVectorizer.cpp
2665

You don't need the getZExtValue()

Diff->getAPInt() == (VL.size() - 1) * Size