This is an archive of the discontinued LLVM Phabricator instance.

[IRTranslator][NFC] Refactor if/else chain into early returns
ClosedPublic

Authored by fdeazeve on May 24 2023, 6:16 AM.

Details

Summary

This will make it easier to add more cases in a subsequent commit and also
better conforms to the coding guidelines.

Diff Detail

Event Timeline

fdeazeve created this revision.May 24 2023, 6:16 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 24 2023, 6:16 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
fdeazeve requested review of this revision.May 24 2023, 6:16 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 24 2023, 6:16 AM
aprantl accepted this revision.May 24 2023, 12:17 PM
This revision is now accepted and ready to land.May 24 2023, 12:17 PM
This revision was landed with ongoing or failed builds.May 25 2023, 3:43 AM
This revision was automatically updated to reflect the committed changes.