This is an archive of the discontinued LLVM Phabricator instance.

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

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

Details

Summary

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

Depends on D151330

Diff Detail

Event Timeline

fdeazeve created this revision.May 24 2023, 6:17 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 24 2023, 6:17 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
fdeazeve requested review of this revision.May 24 2023, 6:17 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 24 2023, 6:17 AM
fdeazeve updated this revision to Diff 526019.May 26 2023, 4:09 AM

Rebased, fixed issue with commit message formatting by arc

This revision was not accepted when it landed; it landed in state Needs Review.May 26 2023, 4:10 AM
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.