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

Andrzej Warzyński llvmlistbot at llvm.org
Wed Mar 26 02:24:09 PDT 2025


https://github.com/banach-space commented:

Thanks for the updates, Thomas!

I've left a few smallish comments, but before addressing those, it would be good to make sure that we do indeed need `tensor.collapse_shape` (as opposed to _a rank reducing_ `tensor.extract_slice`). I am sure that you thought it through and there's a good reason to insert `collapse_shape`, but it's not obvious to me just yet 😅 

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


More information about the Mlir-commits mailing list