diff options
| author | MLIR Team <no-reply@google.com> | 2019-05-29 14:56:41 -0700 |
|---|---|---|
| committer | Mehdi Amini <joker.eph@gmail.com> | 2019-06-01 20:09:02 -0700 |
| commit | 5a91b9896ce4cd21d97f5df609931b7adf7806c3 (patch) | |
| tree | ad2d33498cda49d9867354686a8cf538c539ea86 /mlir/lib/Transforms/LoopTiling.cpp | |
| parent | 1de0f97fff7b7f5fae21374e77d35c5c311c9f39 (diff) | |
| download | bcm5719-llvm-5a91b9896ce4cd21d97f5df609931b7adf7806c3.tar.gz bcm5719-llvm-5a91b9896ce4cd21d97f5df609931b7adf7806c3.zip | |
Remove "size" property of affine maps.
--
PiperOrigin-RevId: 250572818
Diffstat (limited to 'mlir/lib/Transforms/LoopTiling.cpp')
| -rw-r--r-- | mlir/lib/Transforms/LoopTiling.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mlir/lib/Transforms/LoopTiling.cpp b/mlir/lib/Transforms/LoopTiling.cpp index 28e13d89ada..5233081b5f1 100644 --- a/mlir/lib/Transforms/LoopTiling.cpp +++ b/mlir/lib/Transforms/LoopTiling.cpp @@ -168,12 +168,12 @@ constructTiledIndexSetHyperRect(MutableArrayRef<AffineForOp> origLoops, boundExprs.append(origUbMap.getResults().begin(), origUbMap.getResults().end()); auto ubMap = b.getAffineMap(origUbMap.getNumDims() + 1, - origUbMap.getNumSymbols(), boundExprs, {}); + origUbMap.getNumSymbols(), boundExprs); newLoops[width + i].setUpperBound(/*operands=*/ubOperands, ubMap); } else { // No need of the min expression. auto dim = b.getAffineDimExpr(0); - auto ubMap = b.getAffineMap(1, 0, dim + tileSizes[i], {}); + auto ubMap = b.getAffineMap(1, 0, dim + tileSizes[i]); newLoops[width + i].setUpperBound(newLoops[i].getInductionVar(), ubMap); } } |

