[Mlir-commits] [mlir] [MLIR][Linalg] Fix insert_slice fusion with rank reduction (PR #130961)

Andrzej WarzyƄski llvmlistbot at llvm.org
Tue May 20 09:09:45 PDT 2025


================
@@ -94,6 +94,39 @@ mlir::tensor::computeTransposedType(RankedTensorType rankedTensorType,
   return transposedTensorType;
 }
 
+/// Create tensor.collapse_shape to drop unit dimensions in `dropDims` in tensor
+/// `from`.
----------------
banach-space wrote:

As with code, I would avoid duplication and only document this method in Utils.h

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


More information about the Mlir-commits mailing list