torch-mlir/lib/Dialect/TCP
Sean Silva 358159a6eb [RefBackend] Open-code shape.get_extent as extract_element
It was annoying that we were creating shape.get_extent in the middle of
the bufferization pipeline, as it required running convert-shape-to-std
at an awkward place. To make that cleaner, just open-code the
extract_element ops that shape.get_extent expands into.

This is a little gross, but it helps with the macroscopic pipeline
ordering issues. Anyway, the train is long-gone of trying to treat
shapes as some special data type that should only be operated on with
shape ops.

Also,
- reorder tensor constant bufferize (which is a module pass) to bracket
all the bufferization function passes, to make the parallelism
opportunities there clearer. Now we have a very clean little
bufferization segment of our pipeline construction.
2020-11-17 11:00:38 -08:00
..
IR Bump llvm-project to c8c07b76b2cf2ada8e7ec132f7f57b97d76743cf. 2020-10-29 15:25:55 -07:00
Transforms [RefBackend] Open-code shape.get_extent as extract_element 2020-11-17 11:00:38 -08:00
CMakeLists.txt [RefBackend] Use more idiomatic bufferize pattern for TCP. 2020-10-15 20:15:53 -07:00