llvm-project/mlir/examples
Alex Zinenko 57cbeaa8b5 [mlir] Erase or clear blocks through ConversionPatternRewriter when applicable
Multiple places in the code base were erasing Blocks or operations in them
using in-place modifications (`Block::erase` or `Block::clear`) unknown to
ConversionPatternRewriter. These operations could not be undone if the pattern
failed and could lead to inconsistent in-memory state of the IR with dangling
pointers. Use `ConversionPatternRewriter::eraseOp` and `::eraseBlock` instead.

Differential Revision: https://reviews.llvm.org/D80136
2020-05-20 16:12:05 +02:00
..
standalone [MLIR] Continue renaming of "SideEffects" 2020-05-15 14:37:09 -07:00
toy [mlir] Erase or clear blocks through ConversionPatternRewriter when applicable 2020-05-20 16:12:05 +02:00
CMakeLists.txt NFC: Delete the Linalg tutorial. 2019-10-17 14:27:37 -07:00