This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] SIInsertSkips: Tidy block splitting to use splitAt
ClosedPublic

Authored by critson on Sep 30 2020, 12:48 AM.

Details

Summary

Convert to use new MachineBasicBlock splitAt function.
Place code in splitBlock function for reuse in future changes.
Should yield no functional change.

Diff Detail

Event Timeline

critson created this revision.Sep 30 2020, 12:48 AM
critson requested review of this revision.Sep 30 2020, 12:49 AM
This comment was removed by critson.
foad added a comment.Sep 30 2020, 2:41 AM

Looks OK to me, but I don't know much about block splitting.

arsenm accepted this revision.Oct 1 2020, 8:16 AM
This revision is now accepted and ready to land.Oct 1 2020, 8:16 AM
This revision was landed with ongoing or failed builds.Oct 1 2020, 7:11 PM
This revision was automatically updated to reflect the committed changes.