diff options
| author | Uday Bondhugula <bondhugula@google.com> | 2019-02-22 16:51:08 -0800 |
|---|---|---|
| committer | jpienaar <jpienaar@google.com> | 2019-03-29 16:39:32 -0700 |
| commit | dfe07b7bf6077040cbb2b4392cbd81dc443570b2 (patch) | |
| tree | 42a76ed1a4f1007a0725c0290a0a17d5b48655d3 /mlir/lib/Transforms/LoopTiling.cpp | |
| parent | c81b16e27979f319e6f7969ac9ed220bc216c1e0 (diff) | |
| download | bcm5719-llvm-dfe07b7bf6077040cbb2b4392cbd81dc443570b2.tar.gz bcm5719-llvm-dfe07b7bf6077040cbb2b4392cbd81dc443570b2.zip | |
Refactor AffineExprFlattener and move FlatAffineConstraints out of IR into
Analysis - NFC
- refactor AffineExprFlattener (-> SimpleAffineExprFlattener) so that it
doesn't depend on FlatAffineConstraints, and so that FlatAffineConstraints
could be moved out of IR/; the simplification that the IR needs for
AffineExpr's doesn't depend on FlatAffineConstraints
- have AffineExprFlattener derive from SimpleAffineExprFlattener to use for
all Analysis/Transforms purposes; override addLocalFloorDivId in the derived
class
- turn addAffineForOpDomain into a method on FlatAffineConstraints
- turn AffineForOp::getAsValueMap into an AffineValueMap ctor
PiperOrigin-RevId: 235283610
Diffstat (limited to 'mlir/lib/Transforms/LoopTiling.cpp')
| -rw-r--r-- | mlir/lib/Transforms/LoopTiling.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/lib/Transforms/LoopTiling.cpp b/mlir/lib/Transforms/LoopTiling.cpp index 2253d1d354a..240b2b6d9b6 100644 --- a/mlir/lib/Transforms/LoopTiling.cpp +++ b/mlir/lib/Transforms/LoopTiling.cpp @@ -21,8 +21,8 @@ #include "mlir/AffineOps/AffineOps.h" #include "mlir/Analysis/AffineAnalysis.h" +#include "mlir/Analysis/AffineStructures.h" #include "mlir/Analysis/LoopAnalysis.h" -#include "mlir/IR/AffineStructures.h" #include "mlir/IR/Builders.h" #include "mlir/Pass/Pass.h" #include "mlir/Transforms/LoopUtils.h" |

