Skip to content

Commit 3e34c1d

Browse files
committed
Fix error message for FunctionOpInterface
1 parent ac39696 commit 3e34c1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/lib/Dialect/Bufferization/Transforms/OneShotModuleBufferize.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,8 +302,8 @@ getFuncOpsOrderedByCalls(ModuleOp moduleOp,
302302
Operation *returnOp = getAssumedUniqueReturnOp(funcOp);
303303
if (!returnOp)
304304
return funcOp->emitError()
305-
<< "cannot bufferize a FuncOp with tensors and "
306-
"without a unique ReturnOp";
305+
<< "cannot bufferize a FunctionOpInterface with tensors and "
306+
"without a unique ReturnLike";
307307
}
308308

309309
// Collect function calls and populate the caller map.

0 commit comments

Comments
 (0)