This is an archive of the discontinued LLVM Phabricator instance.

[MLIR] Move `print()` and `dump()` from FlatAffineConstraints to IntegerPolyhedron.
ClosedPublic

Authored by Groverkss on Dec 26 2021, 12:45 PM.

Details

Summary

This patch moves FlatAffineConstraints::print and
FlatAffineConstraints::dump() to IntegerPolyhedron.

Diff Detail

Event Timeline

Groverkss created this revision.Dec 26 2021, 12:45 PM
Groverkss requested review of this revision.Dec 26 2021, 12:45 PM
Groverkss retitled this revision from Move `print()` and `dump()` to IntegerPolyhedron from FlatAffineConstraints to [MLIR] Move `print()` and `dump()` to IntegerPolyhedron from FlatAffineConstraints.Dec 26 2021, 12:46 PM
Groverkss retitled this revision from [MLIR] Move `print()` and `dump()` to IntegerPolyhedron from FlatAffineConstraints to [MLIR] Move `print()` and `dump()` from FlatAffineConstraints to IntegerPolyhedron..
arjunp accepted this revision.Dec 27 2021, 12:57 AM
arjunp added inline comments.
mlir/include/mlir/Analysis/AffineStructures.h
432
434

I think we typically keep members at the bottom; please move this above kExplosionFactor.

This revision is now accepted and ready to land.Dec 27 2021, 12:57 AM
Groverkss updated this revision to Diff 396291.Dec 27 2021, 4:59 AM
Groverkss marked 2 inline comments as done.
  • Address Arjun's comments