torch-mlir/include/npcomp/Conversion
Sean Silva dc8afc9271 [RefE2E] Refactor how tcf.add is lowered.
It was previously going through this awkward route that prematurely
created linalg.generic ops, which was an annoying layering problem since
we can't compute a shape transfer function for linalg.generic in the
general case. Now we pass it through the same path as tcp.matmul, with
the shape transfer function being defined for tcp.add.

This also removed the need for TCPToLinalg (now deleted). The equivalent
of that is happening in lower-shaped-results-to-memref. One interesting
outcome of this: we're basically using linalg as a "Buffer TCP". We
might want to look into using named structured ops for more of TCP, but
that would be a big velocity hit since then any change to the ODS /
verification for those ops would be a change to the upstream structured
op ODS generator. After we have more experience defining this manually,
we should re-evaluate rebasing TCP on generated named linalg ops.
2020-09-18 15:03:53 -07:00
..
BasicpyToIREEVM Basicpy conversion to IREE+std skeleton and first conversions. 2020-06-13 23:45:43 -07:00
BasicpyToStd Basicpy conversion to IREE+std skeleton and first conversions. 2020-06-13 23:45:43 -07:00
NumpyToTCF Add NumpyToTCF conversion. 2020-07-08 21:03:57 -07:00
TCFToTCP Add script tools/format_source.sh and run it on all python and c++ sources. 2020-06-13 14:53:54 -07:00
CMakeLists.txt Basicpy conversion to IREE+std skeleton and first conversions. 2020-06-13 23:45:43 -07:00
Passes.h Bump submodule versions. 2020-09-08 13:26:42 -07:00
Passes.td [RefE2E] Refactor how tcf.add is lowered. 2020-09-18 15:03:53 -07:00