[Mlir-commits] [mlir] [mlir][memref] Add a `ViewOp::getMixedSizes` (PR #176561)

Longsheng Mou llvmlistbot at llvm.org
Sat Jan 17 06:49:28 PST 2026


================
@@ -3762,6 +3762,22 @@ OpFoldResult ViewOp::fold(FoldAdaptor adaptor) {
   return {};
 }
 
+SmallVector<OpFoldResult> ViewOp::getMixedSizes() {
+  SmallVector<OpFoldResult> result;
+  unsigned ctr = 0;
+  OpBuilder b(getContext());
----------------
CoTinker wrote:

Good idea, thanks.

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


More information about the Mlir-commits mailing list