This is an archive of the discontinued LLVM Phabricator instance.

[SLP]Disable scheduling of insertelements.
ClosedPublic

Authored by ABataev on Jun 10 2021, 5:54 AM.

Details

Summary

There is no need to schedule insertelement instructions. The compiler
did not schedule them before it started support their vectorization and
it should not do it after. We pre-schedule them manually when finding
a build vector sequence.
Disabling scheduling of insertelement instructions improves compile
time and vectorization of the very large basic blocks by saving
scheduling budget for other instructions.

Diff Detail

Event Timeline

ABataev created this revision.Jun 10 2021, 5:54 AM
ABataev requested review of this revision.Jun 10 2021, 5:54 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 10 2021, 5:54 AM
This revision is now accepted and ready to land.Jun 10 2021, 6:31 AM
This revision was automatically updated to reflect the committed changes.