This is an archive of the discontinued LLVM Phabricator instance.

[SLP]Improve and simplify extendSchedulingRegion.
ClosedPublic

Authored by ABataev on Mar 24 2021, 7:45 AM.

Details

Summary

We do not need to scan further if the upper end or lower end of the
basic block is reached already and the instruction is not found. It
means that the instruction is definitely in the lower part of basic
block or in the upper block relatively.
This should improve compile time for the very big basic blocks.

Diff Detail

Event Timeline

ABataev created this revision.Mar 24 2021, 7:45 AM
ABataev requested review of this revision.Mar 24 2021, 7:45 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 24 2021, 7:45 AM
This revision is now accepted and ready to land.Mar 24 2021, 4:51 PM
This revision was automatically updated to reflect the committed changes.