summaryrefslogtreecommitdiffstats
path: root/mlir/lib/Transforms/SimplifyAffineStructures.cpp
diff options
context:
space:
mode:
authorUday Bondhugula <bondhugula@google.com>2019-02-22 16:51:08 -0800
committerjpienaar <jpienaar@google.com>2019-03-29 16:39:32 -0700
commitdfe07b7bf6077040cbb2b4392cbd81dc443570b2 (patch)
tree42a76ed1a4f1007a0725c0290a0a17d5b48655d3 /mlir/lib/Transforms/SimplifyAffineStructures.cpp
parentc81b16e27979f319e6f7969ac9ed220bc216c1e0 (diff)
downloadbcm5719-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/SimplifyAffineStructures.cpp')
-rw-r--r--mlir/lib/Transforms/SimplifyAffineStructures.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/lib/Transforms/SimplifyAffineStructures.cpp b/mlir/lib/Transforms/SimplifyAffineStructures.cpp
index 4ddfd9f06fb..d0fdcb5527f 100644
--- a/mlir/lib/Transforms/SimplifyAffineStructures.cpp
+++ b/mlir/lib/Transforms/SimplifyAffineStructures.cpp
@@ -19,7 +19,7 @@
//
//===----------------------------------------------------------------------===//
-#include "mlir/IR/AffineStructures.h"
+#include "mlir/Analysis/AffineStructures.h"
#include "mlir/IR/Function.h"
#include "mlir/IR/Instruction.h"
#include "mlir/IR/IntegerSet.h"
OpenPOWER on IntegriCloud