[Mlir-commits] [mlir] [mlir] Add FP software implementation lowering pass: `arith-to-apfloat` (PR #166618)

Renato Golin llvmlistbot at llvm.org
Sun Nov 9 07:34:16 PST 2025


================
@@ -254,3 +254,45 @@ func::deduplicateArgsOfFuncOp(RewriterBase &rewriter, func::FuncOp funcOp,
 
   return std::make_pair(*newFuncOpOrFailure, newCallOp);
 }
+
+FailureOr<func::FuncOp>
+func::lookupOrCreateFn(OpBuilder &b, Operation *moduleOp, StringRef name,
----------------
rengolin wrote:

This only created the declaration, not a definition, so perhaps the function name should be `lookupOrCreateFnDecl` instead?

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


More information about the Mlir-commits mailing list