This is an archive of the discontinued LLVM Phabricator instance.

[LSV] Vectorize up to side-effecting instructions.
ClosedPublic

Authored by jlebar on Jul 19 2016, 2:19 PM.

Details

Summary

Previously if we had a chain that contained a side-effecting
instruction, we wouldn't vectorize it at all. Now we'll vectorize
everything that comes before the side-effecting instruction.

Diff Detail

Repository
rL LLVM

Event Timeline

jlebar updated this revision to Diff 64565.Jul 19 2016, 2:19 PM
jlebar retitled this revision from to [LSV] Vectorize up to side-effecting instructions..
jlebar updated this object.
jlebar added a reviewer: asbirlea.
jlebar added subscribers: llvm-commits, arsenm.
asbirlea added inline comments.Jul 20 2016, 10:32 AM
lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
866 ↗(On Diff #64565)

Remove comment?

asbirlea accepted this revision.Jul 20 2016, 10:32 AM
asbirlea edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Jul 20 2016, 10:32 AM
jlebar updated this revision to Diff 64712.Jul 20 2016, 10:52 AM
jlebar marked an inline comment as done.
jlebar edited edge metadata.

Fix comment.

This revision was automatically updated to reflect the committed changes.