[mlir][Tensor] Fold destination-style ops into `tensor.unpack` operation. (#71468)
The destination operand of the `tensor.unpack` operation is only needed to carry shape information. So if the producer of the destination operand implements the `DestinationStyleOpInterface`, then fold it into the `tensor.unpack` operation by replacing the destination operand with the destination for the source.
Loading
Please sign in to comment