Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/test/Integration/Dialect/Memref/memref_abi.c | ||
---|---|---|
61 | Nit: I'd use intptr_t that better reflects what index is lowered to. |
Nice! Some minor comments below.
mlir/test/Integration/Dialect/Memref/memref_abi.c | ||
---|---|---|
50 | will be in MLIR -> in MLIR LLVM dialect will be | |
76 | Nit: descriptor -> memref_descriptor | |
76–81 | Shouldn't we expose a struct memref_descriptor from include/mlir-c/? | |
77 | Nit: Place these on separate lines consistent with the remaining three fields. |
mlir/test/Integration/Dialect/Memref/memref_abi.c | ||
---|---|---|
76–81 | We already have it in ExecutionEngine/CRunnerUtils.h. I like the self-containedness of this example, otherwise we make it look like one must include a header from MLIR to interface with memrefs. |
Address comments
mlir/test/Integration/Dialect/Memref/memref_abi.c | ||
---|---|---|
76–81 | Yes I really tried to provide a minimalist example without any dependency so folks can really see the mechanism at hand. We likely should invest in C runtime, we discussed it in the past... |
will be in MLIR -> in MLIR LLVM dialect will be