This is an archive of the discontinued LLVM Phabricator instance.

[CodeExtractor] Preserve topological order for the return blocks.
ClosedPublic

Authored by vzakhari on Aug 24 2021, 4:25 PM.

Details

Summary

Place the extracted blocks after the entry block of the new function to keep the created return blocks topologically ordered to the original blocks.

Diff Detail

Event Timeline

vzakhari created this revision.Aug 24 2021, 4:25 PM
vzakhari requested review of this revision.Aug 24 2021, 4:25 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 24 2021, 4:25 PM
jroelofs accepted this revision.Aug 24 2021, 5:01 PM
This revision is now accepted and ready to land.Aug 24 2021, 5:01 PM
vzakhari updated this revision to Diff 368531.Aug 24 2021, 6:48 PM
This revision was landed with ongoing or failed builds.Aug 25 2021, 8:09 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptAug 25 2021, 8:09 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript