This is an archive of the discontinued LLVM Phabricator instance.

[SLP][NFC] Cleanup: Remove KeyNodes set.
ClosedPublic

Authored by vporpo on May 18 2023, 5:04 PM.

Details

Summary

I don't see a good reason form having the KeyNodes set.
This patch removes the set.

Diff Detail

Event Timeline

vporpo created this revision.May 18 2023, 5:04 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 18 2023, 5:04 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
vporpo requested review of this revision.May 18 2023, 5:04 PM
ABataev added inline comments.May 19 2023, 6:39 AM
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
14679–14680

You can remove this container too, since it is not used anymore.

vporpo updated this revision to Diff 523815.May 19 2023, 9:11 AM
vporpo marked an inline comment as done.

Remove KeyNodes.

This revision is now accepted and ready to land.May 19 2023, 9:12 AM
This revision was landed with ongoing or failed builds.May 19 2023, 10:31 AM
This revision was automatically updated to reflect the committed changes.