This is an archive of the discontinued LLVM Phabricator instance.

[SLP] Fix for PR34219, part 2: Use minimal alignment for vectorized stores.
AbandonedPublic

Authored by ABataev on Aug 17 2017, 9:52 AM.

Details

Reviewers
mkuper
RKSimon
Summary

When building vectorized store in SLP pass, we use the alignment of the
the first vectorized store instruction. But other vectorized stores
instruction may have the alignment that is less than the alignment of
the first vectorizable instruction. Patch uses the minimal alignment of
all vectorizable stores for a resulting vector store instruction.

Event Timeline

ABataev created this revision.Aug 17 2017, 9:52 AM
ABataev abandoned this revision.Aug 17 2017, 11:35 AM