[mlir] Fix folding into tensor.pad op.
When low/high padding is folded in padOp, there should be inserted a tensor.cast back to the original result type. Right now, there is a no-op tensor.cast from new type to new type... Differential Revision: https://reviews.llvm.org/D147210
Loading
Please sign in to comment