Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| mlir/test/Integration/Dialect/Memref/memref_abi.c | ||
|---|---|---|
| 60 | 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 | ||
|---|---|---|
| 49 | will be in MLIR -> in MLIR LLVM dialect will be | |
| 75 | Nit: descriptor -> memref_descriptor | |
| 75–80 | Shouldn't we expose a struct memref_descriptor from include/mlir-c/? | |
| 76 | Nit: Place these on separate lines consistent with the remaining three fields. | |
| mlir/test/Integration/Dialect/Memref/memref_abi.c | ||
|---|---|---|
| 75–80 | 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 | ||
|---|---|---|
| 75–80 | 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