torch-mlir/lib/RefBackend
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
..
JITHelpers Bump llvm-project to c8c07b76b2cf2ada8e7ec132f7f57b97d76743cf. 2020-10-29 15:25:55 -07:00
Runtime [RefBackend] Use std.global_memref instead of homegrown thing 2020-11-13 18:43:50 -08:00
CMakeLists.txt [RefBackend] Use std.global_memref instead of homegrown thing 2020-11-13 18:43:50 -08:00
LowerToLLVM.cpp [RefBackend] Use std.global_memref instead of homegrown thing 2020-11-13 18:43:50 -08:00
LowerToRefbackrtABI.cpp [RefBackend] Use std.global_memref instead of homegrown thing 2020-11-13 18:43:50 -08:00
PassDetail.h [RefBackend] Rename "E2E" to RefBackend. 2020-10-07 10:29:48 -07:00
RefBackend.cpp [RefBackend] Open-code shape.get_extent as extract_element 2020-11-17 11:00:38 -08:00