================
@@ -111,6 +111,39 @@ lowerCIRVisibilityToLLVMVisibility(cir::VisibilityKind
visibilityKind) {
}
}
+// Make sure the LLVM function we are about to create a call for actually
+// exists, if not create one. Returns a function
+void getOrCreateLLVMFuncOp(mlir::ConversionPatternRewriter &rewriter,
----------------
bruteforceboy wrote:
it seems this function is unnecessary upstream. It now makes use of
`createLLVMFuncOpIfNotExist` instead.
https://github.com/llvm/llvm-project/pull/178989
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits