summaryrefslogtreecommitdiffstats
path: root/mlir/lib/Analysis
diff options
context:
space:
mode:
authorUday Bondhugula <uday@polymagelabs.com>2019-12-06 16:16:32 -0800
committerA. Unique TensorFlower <gardener@tensorflow.org>2019-12-06 16:17:06 -0800
commitca23bd78d4bed96020f7e681a88c4c767fe594aa (patch)
tree5e5aa03cf1d2a3cad336c582cc5f3998270fb01c /mlir/lib/Analysis
parentfcc215e39979b0f678de84b37a5e2ab208839a8c (diff)
downloadbcm5719-llvm-ca23bd78d4bed96020f7e681a88c4c767fe594aa.tar.gz
bcm5719-llvm-ca23bd78d4bed96020f7e681a88c4c767fe594aa.zip
NFC - update doc, comments, vim syntax file
- for the symbol rules, the code was updated but the doc wasn't. Signed-off-by: Uday Bondhugula <uday@polymagelabs.com> Closes tensorflow/mlir#284 COPYBARA_INTEGRATE_REVIEW=https://github.com/tensorflow/mlir/pull/284 from bondhugula:doc 9aad8b8a715559f7ce61265f3da3f8a3c11b45ea PiperOrigin-RevId: 284283712
Diffstat (limited to 'mlir/lib/Analysis')
-rw-r--r--mlir/lib/Analysis/AffineStructures.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/lib/Analysis/AffineStructures.cpp b/mlir/lib/Analysis/AffineStructures.cpp
index 80dc73755c7..e57045c639d 100644
--- a/mlir/lib/Analysis/AffineStructures.cpp
+++ b/mlir/lib/Analysis/AffineStructures.cpp
@@ -1525,7 +1525,7 @@ void FlatAffineConstraints::removeRedundantInequalities() {
std::pair<AffineMap, AffineMap> FlatAffineConstraints::getLowerAndUpperBound(
unsigned pos, unsigned offset, unsigned num, unsigned symStartPos,
- ArrayRef<AffineExpr> localExprs, MLIRContext *context) {
+ ArrayRef<AffineExpr> localExprs, MLIRContext *context) const {
assert(pos + offset < getNumDimIds() && "invalid dim start pos");
assert(symStartPos >= (pos + offset) && "invalid sym start pos");
assert(getNumLocalIds() == localExprs.size() &&
OpenPOWER on IntegriCloud