This is an archive of the discontinued LLVM Phabricator instance.

[mlir][NFC] Replace some nested if with logical and.
ClosedPublic

Authored by jacquesguan on May 20 2022, 1:51 AM.

Details

Summary

This patch replaces some nested if statement with logical and to reduce the nesting depth.

Diff Detail

Event Timeline

jacquesguan created this revision.May 20 2022, 1:51 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 20 2022, 1:51 AM
jacquesguan requested review of this revision.May 20 2022, 1:51 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 20 2022, 1:51 AM
ftynse accepted this revision.May 20 2022, 4:37 AM
This revision is now accepted and ready to land.May 20 2022, 4:37 AM
This revision was automatically updated to reflect the committed changes.