This is an archive of the discontinued LLVM Phabricator instance.

[SLP][NFC] Remove Limit from tryToVectorizeSequence() arguments.
ClosedPublic

Authored by vporpo on Apr 14 2023, 2:29 PM.

Details

Summary

Limit turns out to be implemented in the exact same way for all calls to
tryToVectorizeSequence(). So this patch removes it and implements it internally
as a lambda function.

Diff Detail

Event Timeline

vporpo created this revision.Apr 14 2023, 2:29 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 14 2023, 2:29 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
vporpo requested review of this revision.Apr 14 2023, 2:29 PM
This revision is now accepted and ready to land.Apr 14 2023, 2:40 PM
This revision was landed with ongoing or failed builds.Apr 14 2023, 3:00 PM
This revision was automatically updated to reflect the committed changes.