llvm-project/mlir/lib/Dialect/MemRef/IR
Adrian Kuegel d6b4993736 [mlir][MemRef] Fix canonicalization of BufferCast(TensorLoad).
CastOp::areCastCompatible does not check whether casts are definitely compatible.
When going from dynamic to static offset or stride, the canonicalization cannot
know whether it is really cast compatible. In that case, it can only canonicalize
to an alloc plus copy.

Differential Revision: https://reviews.llvm.org/D107545
2021-08-06 08:32:35 +02:00
..
CMakeLists.txt [mlir][NFC] Cleanup: Move helper functions to StaticValueUtils 2021-06-27 15:56:48 +09:00
MemRefDialect.cpp [mlir][NFC] MemRef cleanup: Remove helper functions 2021-07-05 10:10:21 +09:00
MemRefOps.cpp [mlir][MemRef] Fix canonicalization of BufferCast(TensorLoad). 2021-08-06 08:32:35 +02:00