This is an archive of the discontinued LLVM Phabricator instance.

Flip if condition of SimplifyRedundantTranspose.
ClosedPublic

Authored by matthiaskramm on Feb 27 2020, 8:32 AM.

Details

Summary

This is a cosmetic change to make the "bingo" comment be in the
right place.

Diff Detail

Event Timeline

matthiaskramm created this revision.Feb 27 2020, 8:32 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 27 2020, 8:32 AM
ftynse added a subscriber: ftynse.Feb 27 2020, 8:54 AM

LLVM encourages the inverse https://llvm.org/docs/CodingStandards.html#use-early-exits-and-continue-to-simplify-code of your change. Maybe rather move the comment?

Ran clang-format.

Undo, adjust comments.

Adjust commit message.

Good point. Adjusted the comments instead.

rriddle accepted this revision.Feb 27 2020, 9:43 AM

Thanks Matthias!

This revision is now accepted and ready to land.Feb 27 2020, 9:43 AM
ftynse accepted this revision.Feb 27 2020, 10:16 AM
This revision was automatically updated to reflect the committed changes.