[all-commits] [llvm/llvm-project] 9f3ab9: [MLIR] Improve support for 0-dimensional Affine Maps.
Jeremy Bruestle via All-commits
all-commits at lists.llvm.org
Wed Apr 15 14:15:46 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 9f3ab92ec86953e310d0814a95d9c0213bfe05d4
https://github.com/llvm/llvm-project/commit/9f3ab92ec86953e310d0814a95d9c0213bfe05d4
Author: Jeremy Bruestle <jeremy.bruestle at intel.com>
Date: 2020-04-15 (Wed, 15 Apr 2020)
Changed paths:
M mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
M mlir/include/mlir/Dialect/Utils/StructuredOpsUtils.h
M mlir/include/mlir/IR/AffineMap.h
M mlir/lib/Analysis/AffineStructures.cpp
M mlir/lib/Analysis/LoopAnalysis.cpp
M mlir/lib/Conversion/LinalgToSPIRV/LinalgToSPIRV.cpp
M mlir/lib/Dialect/Affine/EDSC/Builders.cpp
M mlir/lib/Dialect/Affine/IR/AffineOps.cpp
M mlir/lib/Dialect/Affine/IR/AffineValueMap.cpp
M mlir/lib/Dialect/Affine/Transforms/LoopTiling.cpp
M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
M mlir/lib/Dialect/Linalg/Transforms/LinalgToLoops.cpp
M mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
M mlir/lib/Dialect/LoopOps/Transforms/ParallelLoopTiling.cpp
M mlir/lib/Dialect/Vector/VectorTransforms.cpp
M mlir/lib/Dialect/Vector/VectorUtils.cpp
M mlir/lib/IR/AffineMap.cpp
M mlir/lib/IR/Builders.cpp
M mlir/lib/IR/MLIRContext.cpp
M mlir/lib/IR/StandardTypes.cpp
M mlir/lib/Parser/Parser.cpp
M mlir/lib/Transforms/LoopFusion.cpp
M mlir/lib/Transforms/PipelineDataTransfer.cpp
M mlir/lib/Transforms/Utils/LoopUtils.cpp
M mlir/test/Dialect/Affine/simplify-affine-structures.mlir
Log Message:
-----------
[MLIR] Improve support for 0-dimensional Affine Maps.
Summary:
Modified AffineMap::get to remove support for the overload which allowed
an ArrayRef of AffineExpr but no context (and gathered the context from a
presumed first entry, resulting in bugs when there were 0 results).
Instead, we support only a ArrayRef and a context, and a version which
takes a single AffineExpr.
Additionally, removed some now needless case logic which previously
special cased which call to AffineMap::get to use.
Reviewers: flaub, bondhugula, rriddle!, nicolasvasilache, ftynse, ulysseB, mravishankar, antiagainst, aartbik
Subscribers: mehdi_amini, jpienaar, burmako, shauheen, antiagainst, arpith-jacob, mgester, lucyrfox, liufengdb, Joonsoo, bader, grosul1, frgossen, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D78226
More information about the All-commits
mailing list