[Mlir-commits] [mlir] [MLIR][Tensor] Fix source/dest type check in UnPackOp canonicalize (PR #106094)

Quinn Dawkins llvmlistbot at llvm.org
Tue Aug 27 06:33:04 PDT 2024


================
@@ -4439,7 +4439,7 @@ LogicalResult UnPackOp::canonicalize(UnPackOp unPackOp,
                                      PatternRewriter &rewriter) {
   /// pack(unpack(x)) -> x
----------------
qedawkins wrote:

This is `unpack(pack(x))` because the unpack is operating on the result of the pack.

https://github.com/llvm/llvm-project/pull/106094


More information about the Mlir-commits mailing list