This will make it easier to add more cases in a subsequent commit and also
better conforms to the coding guidelines.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
| Paths 
 |  Differential  D151328  
[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 
Diff Detail 
 Event TimelineThis 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 Closed by commit rGb5983a38cbf4: [IRTranslator][NFC] Refactor if/else chain into early returns (authored by fdeazeve).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
Diff 525527 llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||