This is an archive of the discontinued LLVM Phabricator instance.

NFC: restructure code for CreateControlFlowHub()
AcceptedPublic

Authored by bcahoon on Jun 15 2022, 12:15 AM.

Details

Reviewers
sameerds
ruiling
Summary

This is just moving code around to make it easy to follow and prepare
for the next change to reduce number of live values.

Diff Detail

Event Timeline

ruiling created this revision.Jun 15 2022, 12:15 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 15 2022, 12:15 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
ruiling requested review of this revision.Jun 15 2022, 12:15 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 15 2022, 12:15 AM
bcahoon commandeered this revision.Oct 10 2022, 1:57 PM
bcahoon edited reviewers, added: ruiling; removed: bcahoon.
bcahoon updated this revision to Diff 466610.Oct 10 2022, 1:59 PM

Just rebasing. No change intended.

arsenm added a subscriber: arsenm.Oct 10 2022, 2:13 PM
arsenm added inline comments.
llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
1632

Don't need .\n

bcahoon updated this revision to Diff 466886.Oct 11 2022, 12:23 PM

Remove \n from assert.

bcahoon marked an inline comment as done.Oct 11 2022, 12:23 PM
sameerds accepted this revision.Oct 11 2022, 10:15 PM

LGTM, with just one nit.

llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
1665

missing end of sentence?

This revision is now accepted and ready to land.Oct 11 2022, 10:15 PM