llvm-project/mlir/test/Examples
Nicolas Vasilache 42d8fa667b Normalize lowering of MemRef types
The RFC for unifying Linalg and Affine compilation passes into an end-to-end flow with a predictable ABI and linkage to external function calls raised the question of why we have variable sized descriptors for memrefs depending on whether they have static or dynamic dimensions  (https://groups.google.com/a/tensorflow.org/forum/#!topic/mlir/MaL8m2nXuio).

This CL standardizes the ABI on the rank of the memrefs.
The LLVM struct for a memref becomes equivalent to:
```
template <typename Elem, size_t Rank>
struct {
  Elem *ptr;
  int64_t sizes[Rank];
};
```

PiperOrigin-RevId: 270947276
2019-09-24 11:21:49 -07:00
..
Linalg Normalize lowering of MemRef types 2019-09-24 11:21:49 -07:00
Toy Update Ch.2 of the Toy tutorial. 2019-08-27 12:44:27 -07:00
lit.local.cfg Initial version for chapter 1 of the Toy tutorial 2019-04-02 13:40:06 -07:00