This is an archive of the discontinued LLVM Phabricator instance.

[BBUtils][NFC] Delete SplitLandingPadPredecessors with DT
Needs ReviewPublic

Authored by caojoshua on Apr 19 2023, 9:20 PM.

Details

Summary

Function is marked for deprecation. There is only one consumer which is
converted to use DomTreeUpdater.

Diff Detail

Event Timeline

caojoshua created this revision.Apr 19 2023, 9:20 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 19 2023, 9:20 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
caojoshua edited reviewers, added: fhahn; removed: nikic.Apr 19 2023, 9:29 PM
caojoshua published this revision for review.Apr 19 2023, 10:11 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 19 2023, 10:11 PM
nikic added a subscriber: nikic.Apr 20 2023, 12:54 AM

[BBUtils][NFC] Deprecate SplitLandingPadPredecessors with DT

Deprecate -> Remove

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

Can we also remove the DT argument from this function?

caojoshua marked an inline comment as done.Apr 20 2023, 8:10 PM
caojoshua added inline comments.
llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
1402

It has an incoming call from SplitBlockPredecessors(), and the DT version of it has 10+ incoming calls. Can't remove DT until those are also cleaned up.

caojoshua updated this revision to Diff 515562.Apr 20 2023, 8:10 PM
caojoshua marked an inline comment as done.
caojoshua retitled this revision from [BBUtils][NFC] Deprecate SplitLandingPadPredecessors with DT to [BBUtils][NFC] Delete SplitLandingPadPredecessors with DT.

Deprecate -> Delete

StephenFan added a subscriber: StephenFan.