This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Move comments before 'if' instead of after. NFC
ClosedPublic

Authored by craig.topper on Jul 15 2023, 10:47 PM.

Details

Summary

This allows us to remove some curly braces around the if body.
The code wasn't consistent about it anyway. Comments before is
used in other places in this file already.

Diff Detail

Event Timeline

craig.topper created this revision.Jul 15 2023, 10:47 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 15 2023, 10:47 PM
craig.topper requested review of this revision.Jul 15 2023, 10:47 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 15 2023, 10:47 PM
Herald added subscribers: eopXD, MaskRay. · View Herald Transcript
This revision was not accepted when it landed; it landed in state Needs Review.Jul 15 2023, 10:54 PM
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
craig.topper reopened this revision.Jul 15 2023, 10:54 PM
wangpc accepted this revision.Jul 16 2023, 8:42 AM

LGTM

This revision is now accepted and ready to land.Jul 16 2023, 8:42 AM
MaskRay accepted this revision.Jul 16 2023, 11:18 AM