This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Analysis][NFC] Clean up FlatAffineValueConstraints
ClosedPublic

Authored by springerm on Aug 11 2021, 11:16 PM.

Details

Summary
  • Rename ids to values in FlatAffineValueConstraints.
  • Overall cleanup of comments in FlatAffineConstraints and FlatAffineValueConstraints.

Depends On D107725

Diff Detail

Event Timeline

springerm created this revision.Aug 11 2021, 11:16 PM
springerm requested review of this revision.Aug 11 2021, 11:16 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 11 2021, 11:16 PM
springerm retitled this revision from [mlir][Analysis][NFC] Refactor FlatAffineValueConstraints * Rename `ids` to `values` in FlatAffineValueConstraints. * Overall cleanup of comments in FlatAffineConstraints and FlatAffineValueConstraints. to [mlir][Analysis][NFC] Refactor FlatAffineValueConstraints.Aug 11 2021, 11:26 PM
springerm edited the summary of this revision. (Show Details)
springerm retitled this revision from [mlir][Analysis][NFC] Refactor FlatAffineValueConstraints to [mlir][Analysis][NFC] Clean up FlatAffineValueConstraints.

Thanks very much for this! I'll be able to just proofread through this in a couple of days but this cleanup was long overdue.

springerm updated this revision to Diff 366538.Aug 15 2021, 6:01 PM

address comments

nicolasvasilache added inline comments.
mlir/include/mlir/Analysis/AffineStructures.h
709

nit: please try to align the left brace and avoid overflow cutting a set.

730

nit: extra open paren + extra close paren on the following line.

This revision is now accepted and ready to land.Aug 16 2021, 10:10 AM
springerm marked 2 inline comments as done.Aug 16 2021, 6:25 PM

Thanks very much for this! I'll be able to just proofread through this in a couple of days but this cleanup was long overdue.

I'm landing this now, but if there's additional cleanups/refactorings that you would recommend, write them here and I'll address them in a new revision.