This is an archive of the discontinued LLVM Phabricator instance.

[NFC][BasicBlockUtils] Extract branch inverting to a separate method
ClosedPublic

Authored by aleksandr.popov on Apr 19 2023, 5:12 AM.

Details

Summary

The motivation is to make possible branch inverting code reuse.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptApr 19 2023, 5:12 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
aleksandr.popov requested review of this revision.Apr 19 2023, 5:12 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 19 2023, 5:12 AM
aleksandr.popov retitled this revision from [Refactor] Extract branch inverting to a separate method to [BasicBlockUtils] Extract branch inverting to a separate method.Apr 19 2023, 5:30 AM
mkazantsev accepted this revision.Apr 21 2023, 4:50 AM
This revision is now accepted and ready to land.Apr 21 2023, 4:50 AM
mkazantsev added inline comments.Apr 21 2023, 4:54 AM
llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
2060

{ } not needed.

Please rebase.

aleksandr.popov retitled this revision from [BasicBlockUtils] Extract branch inverting to a separate method to [NFC][BasicBlockUtils] Extract branch inverting to a separate method.Apr 21 2023, 5:20 AM
This revision was landed with ongoing or failed builds.Apr 21 2023, 5:44 AM
This revision was automatically updated to reflect the committed changes.