[Mlir-commits] [mlir] [mlir][Interfaces] Add interface methods to allow reifying single result/single dim of result. (PR #162924)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Oct 24 12:57:42 PDT 2025


================
@@ -344,6 +344,103 @@ LogicalResult OpWithResultShapePerDimInterfaceOp::reifyResultShapes(
   return success();
 }
 
+//===----------------------------------------------------------------------===//
+// ReifyShapedTypeUsingReifyShapeOfResultOp
+//===----------------------------------------------------------------------===//
+
+LogicalResult ReifyShapedTypeUsingReifyShapeOfResultOp::reifyResultShapes(
+    OpBuilder &builder, ReifiedRankedShapedTypeDims &shapes) {
+  return failure();
----------------
MaheshRavishankar wrote:

I just wanted to make sure in the test the fallback proceeds as expected. So even if the default implementation in the interface changes, this makes sure that the fallback happens as expected. So I wasnt planning on deleting them.

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


More information about the Mlir-commits mailing list