llvm-project/mlir
Uday Bondhugula 0c29f45ac9 [MLIR] Fix dialect conversion cancelRootUpdate
Fix dialect conversion ConversionPatternRewriter::cancelRootUpdate: the
erasure of operations here from the list of root update was off by one.
Should have been:
```
rootUpdates.erase(rootUpdates.begin() + (rootUpdates.rend() - it - 1));
```
instead of
```
rootUpdates.erase(rootUpdates.begin() + (rootUpdates.rend() - it));
```

or more directly:
```
rootUpdates.erase(it.base() - 1)
```

While on this, add an assertion to improve dev experience when a cancel is
called on an op on which a root update hasn't been started.

Differential Revision: https://reviews.llvm.org/D105397
2021-07-06 15:19:49 +05:30
..
cmake/modules [mlir] Generare .cpp.inc files for dialects. 2021-06-29 20:10:30 +00:00
docs [mlir][linalg][python] Update integration of OpDSL doc (NFC). 2021-07-01 07:41:32 +00:00
examples [mlir] Generare .cpp.inc files for dialects. 2021-06-29 20:10:30 +00:00
include [MLIR] Fix memref get constant bound size and shape method 2021-07-05 23:00:41 +05:30
lib [MLIR] Fix dialect conversion cancelRootUpdate 2021-07-06 15:19:49 +05:30
python [mlir][linalg][python] Add min operation in OpDSL. 2021-07-02 16:27:30 +00:00
test [MLIR] Fix memref get constant bound size and shape method 2021-07-05 23:00:41 +05:30
tools [mlir] Unbreak building mlir-reduce 2021-07-05 17:08:53 +02:00
unittests [MLIR] FlatAffineConstraints: Use Matrix objects to store the constraints 2021-07-01 22:05:31 +05:30
utils [vscode-mlir] Add support for restarting the server on setting/server changes 2021-06-29 00:08:44 +00:00
.clang-format
.clang-tidy NFC: .clang-tidy: Inherit configs from parents to improve maintainability 2021-06-08 08:25:59 -07:00
CMakeLists.txt [MLIR] Drop old cmake var names 2021-05-24 15:30:01 +05:30
LICENSE.TXT
README.md

README.md

Multi-Level Intermediate Representation

See https://mlir.llvm.org/ for more information.