diff options
author | Jeremy Bruestle <jeremy.bruestle@intel.com> | 2020-04-15 11:12:47 -0700 |
---|---|---|
committer | Jeremy Bruestle <jeremy.bruestle@intel.com> | 2020-04-15 14:15:02 -0700 |
commit | 9f3ab92ec86953e310d0814a95d9c0213bfe05d4 (patch) | |
tree | a2dfc6eae51b436f7a66920e42ee3af69ffbc507 /llvm/lib/Support/MemoryBuffer.cpp | |
parent | 639b8da8dc4cb735e8fd001b7e674073365ff230 (diff) | |
download | llvm-9f3ab92ec86953e310d0814a95d9c0213bfe05d4.zip llvm-9f3ab92ec86953e310d0814a95d9c0213bfe05d4.tar.gz llvm-9f3ab92ec86953e310d0814a95d9c0213bfe05d4.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/Support/MemoryBuffer.cpp')
0 files changed, 0 insertions, 0 deletions