This is an archive of the discontinued LLVM Phabricator instance.

[LSV] Use a set rather than an ArraySlice at the end of getVectorizablePrefix. NFC
ClosedPublic

Authored by jlebar on Aug 12 2016, 4:02 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

jlebar updated this revision to Diff 67932.Aug 12 2016, 4:02 PM
jlebar retitled this revision from to [LSV] Use a set rather than an ArraySlice at the end of getVectorizablePrefix. NFC.
jlebar updated this object.
jlebar added a reviewer: asbirlea.
jlebar added subscribers: arsenm, llvm-commits.
arsenm accepted this revision.Aug 12 2016, 4:51 PM
arsenm added a reviewer: arsenm.

LGTM

llvm/lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
520 ↗(On Diff #67932)

16 seems high. 8?

This revision is now accepted and ready to land.Aug 12 2016, 4:51 PM
jlebar marked an inline comment as done.Aug 12 2016, 4:54 PM

Thank you for the review, Matt. Will submit with s/16/8/

This revision was automatically updated to reflect the committed changes.