torch-mlir/include/npcomp
Sean Silva ef25428fe3 Add lowering from linalg to loops.
This also adds a small pass to clean up the `dim` ops that linalg
introduces. For now, it only has a trivial pattern that looks for a
`tcp.alloc_memref(%shape)` op to get the shape as we currently have an
invariant that all memrefs are the result of such ops.

But eventually this will need to look through view ops and any other
shape-ish stuff that linalg introduces as it lowers to loops, along with
any slicing ops introduced by buffer allocation.
2020-05-11 18:54:52 -07:00
..
Conversion Initial TCF/TCP E2E seed. 2020-05-08 20:20:41 -07:00
Dialect Add lowering from linalg to loops. 2020-05-11 18:54:52 -07:00
E2E Add lowering from linalg to loops. 2020-05-11 18:54:52 -07:00
CMakeLists.txt Initial TCF/TCP E2E seed. 2020-05-08 20:20:41 -07:00