[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


================
@@ -254,6 +256,7 @@ mlir::linalg::fuseProducerOfTensor(OpBuilder &b, OpResult producerOpResult,
                << "\nNot fusable, not an extract_slice op: " << inputTensor);
     return failure();
   }
+  llvm::SmallBitVector droppedDims = sliceOp.getDroppedDims();
----------------
banach-space wrote:

Could this be moved closer to where it's used?

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


More information about the Mlir-commits mailing list