torch-mlir/include/npcomp/Dialect/Torch
Sean Silva 1e357ae680 Add simple type refinement pass.
Currently implemented as a simple intraprocedural dataflow analysis over
a standard ShapedType lattice (hasRank, sizes, and elementType).

It currently hardcodes a few key pieces of information:
- shape transfer functions
- whether it is legal to update the operand type of an op

This needs to be made pluggable obviously and the core propagation logic
moved somewhere agnostic.
2021-04-07 11:06:34 -07:00
..
IR Basic infra for annotate shapes and dtypes on arguments. 2021-04-01 18:40:03 -07:00
Transforms Add simple type refinement pass. 2021-04-07 11:06:34 -07:00
CMakeLists.txt Implement GlobalizeObjectGraph transformation. 2021-02-18 18:18:47 -08:00