[MLIR] Reconciliation of chains of unrealized casts
authorMichele Scuttari <michele.scuttari@outlook.com>
Wed, 3 Aug 2022 11:52:21 +0000 (11:52 +0000)
committerAlex Zinenko <zinenko@google.com>
Wed, 3 Aug 2022 11:57:20 +0000 (11:57 +0000)
commite90deaf1217d9ea0316a3ec03e199c658f5757d5
tree1a28573ae31a34b53241677612c84a2b0bf174fd
parent4cf0a9d4ae76f46ee2833f8479bb712b072673f3
[MLIR] Reconciliation of chains of unrealized casts

The reconciliation pass has been improved to introduce the support for chains of casts, thus not limiting anymore the reconciliation to just consider pairs of unrealized casts.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D130711
mlir/include/mlir/Conversion/Passes.td
mlir/lib/Conversion/ReconcileUnrealizedCasts/ReconcileUnrealizedCasts.cpp
mlir/test/Conversion/ReconcileUnrealizedCasts/reconcile-unrealized-casts-failure.mlir [new file with mode: 0644]
mlir/test/Conversion/ReconcileUnrealizedCasts/reconcile-unrealized-casts.mlir [new file with mode: 0644]