This is an archive of the discontinued LLVM Phabricator instance.

[MLIR][NFC] Fix/improve style in affine-licm pass
ClosedPublic

Authored by bondhugula on Dec 28 2022, 12:28 PM.

Details

Summary

The code here appears to be out of line with proper style and
guidelines. Fix this.

Diff Detail

Event Timeline

bondhugula created this revision.Dec 28 2022, 12:28 PM
bondhugula requested review of this revision.Dec 28 2022, 12:28 PM
Groverkss accepted this revision.Dec 28 2022, 12:47 PM

LGTM with a minor suggestion.

mlir/lib/Dialect/Affine/Transforms/AffineLoopInvariantCodeMotion.cpp
100–102

Braces can be removed here.

This revision is now accepted and ready to land.Dec 28 2022, 12:47 PM
Groverkss retitled this revision from NFC. Fix/improve style in affine-licm pass to [MLIR][NFC] Fix/improve style in affine-licm pass.Dec 28 2022, 12:48 PM
bondhugula marked an inline comment as done.

Address comment.