Alexander Belyaev a5cdcf49b2 [mlir] Fix folding for scf.for(tensor.cast).
We should only fold tensor.casts that provide some new static information about
shapes, instead of looking for a symmetric pattern cast(for(cast)).

Differential Revision: https://reviews.llvm.org/D144577
2023-02-23 11:23:11 +01:00
..