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

Matthias Springer llvmlistbot at llvm.org
Sat Jan 17 06:33:41 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());
----------------
matthias-springer wrote:

nit: This can be a `Builder`.

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


More information about the Mlir-commits mailing list