Looks like a refactor that was never completed.
This change removes some unused and ambiguous definitions.
Paths
| Differential D75586
[MLIR][Affine][NFC] Remove obsolete and ambiguous definitions ClosedPublic Authored by flaub on Mar 3 2020, 4:59 PM.
Details Summary Looks like a refactor that was never completed. This change removes some unused and ambiguous definitions.
Diff Detail
Event TimelineComment Actions Thanks very much for cleaning this up. There are really no users for getFlattenedAffineExpr(s) in lib/IR - it's used from under lib/Analysis/, and there is an extended version using AffineExprFlattener there (as opposed to SimpleAffineExprFlattener). This revision is now accepted and ready to land.Mar 4 2020, 10:11 AM Comment Actions I tried to use this from outside of MLIR core and it ended up not possible to even call the getFlattendAffineExprs that doesn't take a 3rd argument due to that being ambiguous with the one defined in AffineStructures.
Closed by commit rGc4119a5b900a: [MLIR][Affine][NFC] Remove obsolete and ambiguous definitions (authored by flaub). · Explain WhyMar 4 2020, 1:32 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 248073 mlir/include/mlir/Analysis/AffineStructures.h
mlir/include/mlir/IR/AffineExpr.h
mlir/lib/IR/AffineExpr.cpp
|
Note, if you use git-clang-format it should only format the changes that you've made without touching existing code.