[Mlir-commits] [mlir] [mlir][EmitC] Add support for external functions (PR #80547)
Simon Camphausen
llvmlistbot at llvm.org
Mon Feb 5 02:33:09 PST 2024
================
@@ -913,6 +929,13 @@ static LogicalResult printOperation(CppEmitter &emitter,
os << "(";
Operation *operation = functionOp.getOperation();
+ if (functionOp.isExternal()) {
----------------
simon-camp wrote:
Use `functionOp.isDeclaration()`.
https://github.com/llvm/llvm-project/pull/80547
More information about the Mlir-commits
mailing list