This is an archive of the discontinued LLVM Phabricator instance.

Add a static method Block::sortTopologically(range) to enforce proper dominance
Needs ReviewPublic

Authored by mehdi_amini on Feb 8 2020, 11:04 PM.
This revision needs review, but all reviewers have resigned.

Details

Reviewers
rriddle
Summary

This method takes two operations from the same block to form a range that
will be topologically sorted. This is useful when fusing / reorganizing
operation in a block and later needing to readjust the ordering to
respect dominance.

Diff Detail

Event Timeline

mehdi_amini created this revision.Feb 8 2020, 11:04 PM
Herald added a project: Restricted Project. · View Herald Transcript
rriddle resigned from this revision.Nov 14 2021, 11:12 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 14 2021, 11:12 PM