[Mlir-commits] [mlir] Adding mlir models (PR #141158)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed May 28 14:49:10 PDT 2025


================
@@ -1152,20 +1250,33 @@ static LogicalResult printOperation(CppEmitter &emitter,
   os << " " << functionOp.getName();
 
   os << "(";
-  Operation *operation = functionOp.getOperation();
-  if (functionOp.isExternal()) {
-    if (failed(printFunctionArgs(emitter, operation,
-                                 functionOp.getArgumentTypes())))
+
+  if (emitter.shouldPrintClass())
----------------
Jaddyen wrote:

Done.

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


More information about the Mlir-commits mailing list