[Mlir-commits] [mlir] [mlir][docs] Add C example for C-compatible wrapper for LLVM IR (PR #120955)

Oleksandr Alex Zinenko llvmlistbot at llvm.org
Tue Dec 24 01:14:04 PST 2024


================
@@ -744,6 +761,7 @@ llvm.func @foo(%arg0: !llvm.ptr, %arg1: !llvm.ptr, %arg2: i64,
 }
 
 // Interface function callable from C.
+// NOTE that the returned memref becomes the first argument
----------------
ftynse wrote:

```suggestion
// NOTE: the returned memref becomes the first argument.
```

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


More information about the Mlir-commits mailing list